Skip to content

Commit

Permalink
Debug github action
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Feb 4, 2024
1 parent 60accae commit 6388470
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,10 @@ jobs:
- name: Run Ansible Playbook
id: playbook
run: |
{
echo "ansible_playbook<<EOF"
echo "$ ansible-playbook playbook.yml -i inventory.ini"
ansible-playbook playbook.yml -i inventory.ini --key-file ~/.ssh/ooni-devops-prod.pem
echo "EOF"
} >> "$GITHUB_OUTPUT"
echo "ansible_playbook<<EOF" >> "$GITHUB_OUTPUT"
echo "\$ ansible-playbook playbook.yml -i inventory.ini" >> "$GITHUB_OUTPUT"
ansible-playbook playbook.yml -i inventory.ini --key-file ~/.ssh/ooni-devops-prod.pem 2>&1 | tee -a "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
continue-on-error: true

- uses: actions/github-script@v6
Expand Down

0 comments on commit 6388470

Please sign in to comment.