Update actions/checkout action to v4.1.5 #63
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 autorestic | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- main | |
paths: | |
- roles/autorestic/** | |
- .github/workflows/autorestic.yaml | |
pull_request: | |
paths: | |
- roles/autorestic/** | |
- .github/workflows/autorestic.yaml | |
jobs: | |
autorestic: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: ./.github/actions/setup-ansible | |
- run: | | |
ansible-playbook main.yaml --limit localhost --tags autorestic | |
cd ~/autorestic && docker compose run autorestic |