Update actions/checkout action to v3.6.0 #28
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 homepage | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- main | |
paths: | |
- roles/homepage/** | |
- .github/workflows/homepage.yaml | |
pull_request: | |
paths: | |
- roles/homepage/** | |
- .github/workflows/homepage.yaml | |
jobs: | |
homepage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: ./.github/actions/setup-ansible | |
- run: | | |
docker network create --driver bridge proxy | |
ansible-playbook main.yaml --limit localhost --tags homepage | |
docker ps --filter name=homepage | grep --quiet homepage |