Skip to content

Update dependency ubuntu to v24 #155

Update dependency ubuntu to v24

Update dependency ubuntu to v24 #155

Workflow file for this run

name: deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
- name: Prepare environment
run: |
id
eval $(ssh-agent -s)
mkdir -p ~/.ssh
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
ssh-keyscan styx.rudin.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