@@ -13,7 +13,7 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run update script
|
||||
- name: Configure credentials
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.SSH_KNOWN_HOSTS }}" >> ~/.ssh/known_hosts
|
||||
@@ -21,8 +21,13 @@ jobs:
|
||||
eval $(ssh-agent -s)
|
||||
ssh-add <(echo "${{ secrets.SSH_KEY }}")
|
||||
echo "${{ secrets.VAULT_PASS }}" > ~/.vault_pass.txt
|
||||
|
||||
- name: Install required dependencies
|
||||
run: |
|
||||
python3 -m pip install requests pyyaml ansible-core --break-system-packages
|
||||
ansible-galaxy collection install community.docker
|
||||
python3 scripts/run_updates.py
|
||||
|
||||
- name: Run update script
|
||||
run: python3 scripts/run_updates.py
|
||||
env:
|
||||
UPDATES_DISCORD_WEBHOOK: ${{vars.UPDATES_DISCORD_WEBHOOK}}
|
||||
|
||||
Reference in New Issue
Block a user