Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mb1896 committed Feb 20, 2024
1 parent cbd766b commit 9d8021a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/auto-deploy-contracts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,20 @@ jobs:
RPC_URL: https://calibration.filfox.info/rpc/v1
PRIVATE_KEY: ${{ secrets.CONTRACTS_DEPLOYER_PRIVATE_KEY }}
steps:
- name: Checkout cd/contract branch
uses: actions/checkout@v4
with:
ref: cd/contracts
submodules: recursive

- name: (Dry run) Try merge from main branch and update cd/contracts branch
run: |
git config --global user.name 'Contract Auto Deployer'
git config --global user.email '[email protected]'
git config pull.rebase false
git pull origin main --no-edit --allow-unrelated-histories
- name: Checkout code repo
- name: Checkout the branch that triggered this run
uses: actions/checkout@v4
with:
# TODO(jie): After switch to workflow_dispatch only, we should use ref_name.
Expand Down

0 comments on commit 9d8021a

Please sign in to comment.