Skip to content

Commit

Permalink
Add dfx to the shell environment path.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangwei983 committed Feb 24, 2024
1 parent 41e72ae commit c9ce3fb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ jobs:
fetch-depth: 0
- name: Prepare
run: |
# Install dfx.
wget --output-document install-dfx.sh "https://raw.githubusercontent.com/dfinity/sdk/dfxvm-install-script/install.sh"
DFX_VERSION=${DFX_VERSION:=0.14.3} DFXVM_INIT_YES=true bash install-dfx.sh
rm install-dfx.sh
source "$HOME/.local/share/dfx/env"
# Prepare identity.
echo "${{secrets.WEIHAILU}}" > identity.pem
chmod 400 identity.pem
mkdir -p ~/.config/dfx/identity/default
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ jobs:
fetch-depth: 0
- name: Prepare
run: |
# Install dfx.
wget --output-document install-dfx.sh "https://raw.githubusercontent.com/dfinity/sdk/dfxvm-install-script/install.sh"
DFX_VERSION=${DFX_VERSION:=0.14.3} DFXVM_INIT_YES=true bash install-dfx.sh
rm install-dfx.sh
source "$HOME/.local/share/dfx/env"
# Prepare identity.
echo "${{secrets.WEIHAILU}}" > identity.pem
chmod 400 identity.pem
mkdir -p ~/.config/dfx/identity/default
Expand Down

0 comments on commit c9ce3fb

Please sign in to comment.