Skip to content

Commit 866f01a

Browse files
Last steps!
1 parent 7003692 commit 866f01a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/update.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
# Git clone our ansible-scripts repository (private)
1212
git-clone-ansible-scripts:
13-
name: Git Clone Ansible Scripts
13+
name: Run Ansible Playbook to update Ruby
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Git Clone our Private Ansible Scripts
@@ -36,3 +36,6 @@ jobs:
3636
run: |
3737
#we don't have ssh keys so we need to use the password
3838
ansible-playbook -i ./hosts ./playbooks/ruby.yml --extra-vars "ansible_ssh_pass=${{ secrets.ANSIBLE_PASSWORD }}"
39+
- name: Send Webhook to Discord about Ruby being updated
40+
run: |
41+
curl -X POST -H 'Content-type: application/json' --data '{"content":"Ruby has been updated! :tada:"}' ${{ secrets.DISCORD_WEBHOOK }}

0 commit comments

Comments
 (0)