Update minetest_game digest to 2ce8ff3 #443
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: deploy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 10 | |
concurrency: deployment | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare environment | |
run: | | |
id | |
eval $(ssh-agent -s) | |
mkdir -p ~/.ssh | |
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa | |
ssh-keyscan pandorabox.io >> ~/.ssh/known_hosts | |
chmod -R 700 ~/.ssh | |
ansible-galaxy collection install community.general | |
echo "${{ secrets.VAULT_PASS }}" > ~/.vault_pass.txt | |
- name: Run ansible | |
run: | | |
ansible-playbook -i hosts --vault-password-file ~/.vault_pass.txt --private-key ~/.ssh/id_rsa deploy.yml |