We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ca7294 commit d8fdf6aCopy full SHA for d8fdf6a
.github/workflows/update.yml
@@ -23,6 +23,10 @@ jobs:
23
run: |
24
sudo apt update
25
sudo apt install ansible -y
26
- - name: Send Webhook to Discord (using Curl)
+ - name: Send Webhook to Discord about updating Ruby
27
28
- curl -X POST -H 'Content-type: application/json' --data '{"content":"Updating Server..."}' ${{ secrets.DISCORD_WEBHOOK }}
+ curl -X POST -H 'Content-type: application/json' --data '{"content":"Updating Ruby..."}' ${{ secrets.DISCORD_WEBHOOK }}
29
+ - name: Run Ansible Playbook
30
+ run: |
31
+ #we don't have ssh keys so we need to use the password
32
+ ansible-playbook -i ./hosts ./playbooks/ruby.yml --extra-vars "ansible_ssh_pass=${{ secrets.ANSIBLE_PASSWORD }}"
0 commit comments