Skip to content

Commit

Permalink
testing ci connection
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-shashank committed Apr 9, 2024
1 parent d40d717 commit dc58c93
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/deploy-archival-snapshots.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run Ansible playbook for archival snapshots
name: Export archival snapshots

on:
schedule:
Expand Down Expand Up @@ -31,11 +31,5 @@ jobs:
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -t rsa archie.chainsafe.dev >> ~/.ssh/known_hosts
- name: Run Ansible playbook
env:
ANSIBLE_HOST_KEY_CHECKING: True
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
ARCHIVAL_SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
ENDPOINT: ${{ secrets.CLOUDFLARE_ENDPOINT }}
run: |
ansible-playbook playbook.yml -i inventory.ini
- name: Verify SSH key
run: ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no [email protected] "echo 'SSH connection successful'"

0 comments on commit dc58c93

Please sign in to comment.