Skip to content

Commit

Permalink
Use Personal Access Token in auto contract deployment workflow (#770)
Browse files Browse the repository at this point in the history
  • Loading branch information
mb1896 authored Mar 4, 2024
1 parent d801b44 commit b718e8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/auto-deploy-contracts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ jobs:
RPC_URL: https://calibration.filfox.info/rpc/v1
PRIVATE_KEY: ${{ secrets.CONTRACTS_DEPLOYER_PRIVATE_KEY }}
steps:
- name: Checkout cd/contract branch
- name: Checkout cd/contracts branch
uses: actions/checkout@v4
with:
ref: cd/contracts
submodules: recursive
fetch-depth: 0
token: ${{ secrets.WORKFLOW_PAT_JIE }}

- name: (Dry run) Try merge from main branch to see if there's any conflicts that can't be resolved itself
run: |
Expand Down Expand Up @@ -86,12 +87,13 @@ jobs:
echo "gateway_address: $gateway_address"
echo "registry_address: $registry_address"
- name: Switch code repo to cd/contract branch
- name: Switch code repo to cd/contracts branch
uses: actions/checkout@v4
with:
ref: cd/contracts
submodules: recursive
fetch-depth: 0
token: ${{ secrets.WORKFLOW_PAT_JIE }}

- name: Merge from main branch and update cd/contracts branch
run: |
Expand Down
Binary file removed fendermint/docker/.Dockerfile.swp
Binary file not shown.

0 comments on commit b718e8f

Please sign in to comment.