Skip to content

Manual trigger

Manual trigger #17

Workflow file for this run

name: Manual trigger
on: workflow_dispatch
jobs:
getsha:
runs-on: ubuntu-latest
outputs:
shortsha: ${{ steps.short-sha.outputs.sha }}
steps:
- uses: benjlevesque/[email protected]
id: short-sha
with:
length: 6
- run: echo $SHA
env:
SHA: ${{ steps.short-sha.outputs.sha }}
build-core:
uses: ./.github/workflows/core.yml
secrets: inherit
build-projects:
needs: [build-core, getsha]
strategy:
matrix:
project:
[
francetransfert-download-api,
francetransfert-upload-api,
francetransfert-worker,
]
uses: ./.github/workflows/generic-build.yml
secrets: inherit
with:
project: ${{ matrix.project }}
tag: ${{needs.getsha.outputs.shortsha}}
build-front:
needs: getsha
uses: ./.github/workflows/build-front.yml
secrets: inherit
with:
project: francetransfert-upload-download-gui
tag: ${{needs.getsha.outputs.shortsha}}