This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
feat: [BB-191] Feature** Fields and Soil Stage 2 #461
Workflow file for this run
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: PR | |
on: | |
pull_request: | |
concurrency: | |
# Cancel in progress for PR open and close | |
group: ${{ github.event.number }} | |
cancel-in-progress: true | |
jobs: | |
# https://github.com/bcgov-nr/action-builder-ghcr | |
builds: | |
name: Builds | |
runs-on: ubuntu-22.04 | |
permissions: | |
packages: write | |
outputs: | |
digest: ${{ steps.builds.outputs.digest }} | |
strategy: | |
matrix: | |
package: [backend, database, frontend] | |
timeout-minutes: 10 | |
steps: | |
- uses: bcgov-nr/[email protected] | |
id: builds | |
with: | |
keep_versions: 50 | |
package: ${{ matrix.package }} | |
tag: ${{ github.event.number }} | |
tag_fallback: latest | |
triggers: ('${{ matrix.package }}/') | |
deploys: | |
name: Deploys | |
needs: [builds] | |
secrets: inherit | |
uses: ./.github/workflows/.deploy.yml | |
results: | |
name: PR Results | |
if: always() && (!failure()) && (!cancelled()) | |
needs: [builds, deploys] | |
runs-on: ubuntu-22.04 | |
steps: | |
- run: echo "Success!" |