Skip to content

chore(ci): workflow and etl setup #179

chore(ci): workflow and etl setup

chore(ci): workflow and etl setup #179

Workflow file for this run

name: PR
on:
pull_request:
concurrency:
# PR open and close use the same group, allowing only one at a time
group: ${{ github.event.number }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-24.04
permissions:
packages: write
steps:
- uses: bcgov/[email protected]
with:
package: sync
tag: ${{ github.event.number }}
tag_fallback: latest
triggers: ('sync/')
deploy:
name: Deploy (${{ github.event.number }})
needs: [build]
secrets: inherit
uses: ./.github/workflows/.deploy.yml
results:
name: PR Results
if: always()
needs: [build, deploy]
runs-on: ubuntu-24.04
steps:
- if: contains(needs.*.result, 'failure')||contains(needs.*.result, 'canceled')
run: echo "At least one job has failed." && exit 1
- run: echo "Success!"