update GitHub Actions versions due to Node.js 16 deprecation (in favo… #8
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 updates | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy-prod: | |
env: | |
LABPASSPHRASE: ${{ secrets.LABPASSPHRASE }} | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Hi | |
run: echo "Hello World!" | |
# - name: Checkout | |
# uses: actions/checkout@v4 | |
# - name: Setup Python | |
# uses: actions/setup-python@v5 | |
# - name: Install Python requirements | |
# run: pip3 install -r requirements.txt | |
# - name: Run pre-commit on files | |
# uses: pre-commit/[email protected] | |
# - name: Check paths for sites/site_1 | |
# uses: dorny/paths-filter@v3 | |
# id: filter-site1 | |
# with: | |
# filters: | | |
# workflows: | |
# - 'sites/site_1/**' | |
# - name: Check paths for sites/site_2 | |
# uses: dorny/paths-filter@v3 | |
# id: filter-site2 | |
# with: | |
# filters: | | |
# workflows: | |
# - 'sites/site_2/**' | |
# - name: Install collections | |
# run: ansible-galaxy collection install -r requirements.yml | |
# if: steps.filter-site1.outputs.workflows == 'true' || steps.filter-site2.outputs.workflows == 'true' | |
# - name: Build and deploy site1 | |
# run: make build-site-1 cvp-site-1 | |
# if: steps.filter-site1.outputs.workflows == 'true' | |
# - name: Build and deploy site2 | |
# run: make build-site-2 cvp-site-2 | |
# if: steps.filter-site2.outputs.workflows == 'true' |