Skip to content

Commit

Permalink
Fix working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Feb 4, 2024
1 parent f023b65 commit bd91463
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ env.tf_actions_working_dir }}
working-directory: ${{ env.tf_actions_working_dir }}/ansible
permissions:
pull-requests: write
steps:
Expand All @@ -40,8 +40,8 @@ jobs:
run: |
{
echo "ansible_playbook<<EOF"
echo "$ anisble-playbook ansible/playbook.yml -i inventory.ini"
ansible-playbook ansible/playbook.yml -i ansible/inventory.ini --key-file ~/.ssh/ooni-devops-prod.pem
echo "$ anisble-playbook playbook.yml -i inventory.ini"
ansible-playbook playbook.yml -i inventory.ini --key-file ~/.ssh/ooni-devops-prod.pem
echo "EOF"
} >> "$GITHUB_OUTPUT"
continue-on-error: true
Expand Down Expand Up @@ -217,16 +217,6 @@ jobs:
</details>
#### Commit \`${{ steps.apply.outcome }}\`
<details><summary>Show Commit</summary>
\`\`\`\n
${{ steps.commit.outputs.git_commit }}
\`\`\`
</details>
| | |
|-------------------|-----------------------------------|
| Pusher | @${{ github.actor }} |
Expand Down

0 comments on commit bd91463

Please sign in to comment.