name: Deploy to production on: workflow_dispatch: jobs: deploy: runs_on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Install Ansible run: apt-get update && apt-get install -y ansible - name: Deploy Caddy config run: ansible-playbook -i ansible/hosts.ini ansible/deploy-caddy.yml --vault-password-file <(echo "${{ secrets.ANSIBLE_VAULT_PASSWORD }}")