File tree Expand file tree Collapse file tree 1 file changed +7
-14
lines changed
Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Original file line number Diff line number Diff line change 77 types :
88 - closed
99
10- concurrency :
11- group : pr-${{ github.workflow }}-${{ github.head_ref }}
12- cancel-in-progress : true
13-
1410jobs :
1511 publish :
1612 if : github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release/')
@@ -34,24 +30,21 @@ jobs:
3430 uses : dfinity/ci-tools/actions/setup-pnpm@main
3531 with :
3632 node_version_file : ' .nvmrc'
37-
33+
3834 - run : pnpm build
3935 - run : pnpm publish:packages
4036 env :
4137 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
4238
4339 # publish docs
4440 - name : Install dfx
45- run : dfinity/setup-dfx@main
41+ uses : dfinity/setup-dfx@main
4642 - name : Add new identity to dfx
43+ env :
44+ DFX_IDENTITY_PEM : ${{ secrets.DFX_IDENTITY_PEM }}
4745 run : |
48- echo ${{ secrets. DFX_IDENTITY_PEM }} > identity.pem
49- dfx identity import docs-deployer identity.pem
46+ echo "$ DFX_IDENTITY_PEM" > ./ identity.pem
47+ dfx identity import --storage-mode plaintext docs-deployer ./ identity.pem
5048 dfx identity use docs-deployer
5149 - name : Deploy docs
52- run : dfx deploy --network ic
53-
54- - name : Delete release branch
55- env :
56- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
57- run : git push origin --delete ${{ env.BRANCH }}
50+ run : DFX_WARNING=-mainnet_plaintext_identity dfx deploy --ic docs
You can’t perform that action at this time.
0 commit comments