From fe8a007472080b72cc8d4bf571484f9fc2b1b8bb Mon Sep 17 00:00:00 2001 From: "Masih H. Derkani" Date: Wed, 29 Jan 2025 13:09:05 +0000 Subject: [PATCH] Fix typo in CI workflow to fetch genesis car * Missing `-playbook`. * working directory for ansible. --- .github/actions/lotus-ansible-reset/action.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/actions/lotus-ansible-reset/action.yaml b/.github/actions/lotus-ansible-reset/action.yaml index f4833e8e..7982e266 100644 --- a/.github/actions/lotus-ansible-reset/action.yaml +++ b/.github/actions/lotus-ansible-reset/action.yaml @@ -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