Skip to content

Commit

Permalink
Fix typo in CI workflow to fetch genesis car
Browse files Browse the repository at this point in the history
* Missing `-playbook`.
* working directory for ansible.
  • Loading branch information
masih committed Jan 29, 2025
1 parent 2177502 commit fe8a007
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/actions/lotus-ansible-reset/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,15 @@ runs:
- name: Capture New Genesis
if: ${{ inputs.check == 'false' }}
shell: bash
working-directory: ansible
run: |
mkdir /tmp/reset
ansible -i inventories/${DEPLOY_NETWORK}/hosts.yml fetch_genesis_car.yml -e dest=/tmp/reset/
ansible-playbook -i inventories/${DEPLOY_NETWORK}/hosts.yml fetch_genesis_car.yml -e dest=/tmp/reset/
- name: Capture Lotus Artifacts
if: ${{ inputs.check == 'false' }}
shell: bash
run: |
./scripts/encrypt_vault_files.bash
./scripts/bundle_changes.bash . /tmp/reset/lotus-infra
./scripts/bundle_changes.bash ${LOTUSROOT} /tmp/reset/lotus
Expand Down

0 comments on commit fe8a007

Please sign in to comment.