Skip to content

Merge pull request #1 from RomualdRousseau/refacto/fix-workflow-name #8

Merge pull request #1 from RomualdRousseau/refacto/fix-workflow-name

Merge pull request #1 from RomualdRousseau/refacto/fix-workflow-name #8

Workflow file for this run

name: shuju
on:
push:
paths:
- shuju/**
- .github/workflows/shuju.yml
release:
types: [published]
jobs:
build:
uses: ./.github/workflows/tooling-build.yml
with:
service: shuju
test:
needs: [build]
uses: ./.github/workflows/tooling-test.yml
with:
service: shuju
deploy-snapshot:
needs: [test]
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: ./.github/workflows/tooling-deploy-snapshot.yml
with:
service: shuju
secrets: inherit
deploy-prod:
needs: [test]
if: ${{ github.event_name == 'release' }}
uses: ./.github/workflows/tooling-deploy-prod.yml
with:
service: shuju
version: ${{ github.event.release.tag_name }}
secrets: inherit