Skip to content

Commit

Permalink
Last steps!
Browse files Browse the repository at this point in the history
  • Loading branch information
MotorTruck1221 committed Apr 15, 2024
1 parent 7003692 commit 866f01a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
# Git clone our ansible-scripts repository (private)
git-clone-ansible-scripts:
name: Git Clone Ansible Scripts
name: Run Ansible Playbook to update Ruby
runs-on: ubuntu-latest
steps:
- name: Git Clone our Private Ansible Scripts
Expand All @@ -36,3 +36,6 @@ jobs:
run: |
#we don't have ssh keys so we need to use the password
ansible-playbook -i ./hosts ./playbooks/ruby.yml --extra-vars "ansible_ssh_pass=${{ secrets.ANSIBLE_PASSWORD }}"
- name: Send Webhook to Discord about Ruby being updated
run: |
curl -X POST -H 'Content-type: application/json' --data '{"content":"Ruby has been updated! :tada:"}' ${{ secrets.DISCORD_WEBHOOK }}

0 comments on commit 866f01a

Please sign in to comment.