Skip to content

Commit

Permalink
set env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-shashank committed Apr 10, 2024
1 parent 32045ef commit 55267f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-archival-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,7 @@ jobs:
- name: Run Ansible playbook
env:
ANSIBLE_HOST_KEY_CHECKING: "False"
ARCHIVAL_SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
ENDPOINT: https://2238a825c5aca59233eab1f221f7aefb.r2.cloudflarestorage.com/
run: |
ansible-playbook -i ansible/archival-snapshots/inventory.ini ansible/archival-snapshots/playbook.yml
2 changes: 1 addition & 1 deletion ansible/archival-snapshots/resources/notify.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require 'slack-ruby-client'

CHANNEL = '#forest-notifications'
CHANNEL = '#forest-dump'
SLACK_TOKEN = ENV.fetch('ARCHIVAL_SLACK_TOKEN')
STATUS = ARGV[0]

Expand Down

0 comments on commit 55267f9

Please sign in to comment.