Use single secret file, add quotes for num var in secret #13
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: Sync DSO gitlab repository | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- feature/adapt-infra-for-dso-env | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
curl "https://gitlab.apps.c6.numerique-interieur.com/api/v4/projects/62/trigger/pipeline" \ | |
-X POST \ | |
--fail \ | |
-F token=${{ secrets.DSO_TOKEN }} \ | |
-F ref=main \ | |
-F variables[GIT_BRANCH_DEPLOY]=${{ github.ref_name }} \ | |
-F variables[PROJECT_NAME]=infra |