Skip to content

Deploy

Deploy #3

Workflow file for this run

name: Deploy
on:
push:
branches: ["main"]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run Ansible playbook
uses: dawidd6/[email protected]
with:
playbook: ./deploy/ansible-playbook.yml
key: ${{ secrets.SSH_KEY }}
inventory: ${{ vars.ANSIBLE_HOSTS }}