Skip to content

Merge pull request #80 from JulioPDX/mlag-fix #6

Merge pull request #80 from JulioPDX/mlag-fix

Merge pull request #80 from JulioPDX/mlag-fix #6

Workflow file for this run

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@v3
# - name: Setup Python
# uses: actions/setup-python@v3
# - 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@v2
# id: filter-site1
# with:
# filters: |
# workflows:
# - 'sites/site_1/**'
# - name: Check paths for sites/site_2
# uses: dorny/paths-filter@v2
# 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'