Inject API base URL at runtime via VALIDATION_SERVICE_BASE_URL env var #107
This file contains hidden or 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: Mirror to EBRAINS | |
| on: | |
| push: | |
| branches: [ master, staging ] | |
| jobs: | |
| to_ebrains: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: syncmaster | |
| uses: wei/git-sync@v3 | |
| with: | |
| source_repo: "HumanBrainProject/model-catalog" | |
| source_branch: "master" | |
| destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/model-validation/model-catalog.git" | |
| destination_branch: "main" | |
| - name: syncstaging | |
| uses: wei/git-sync@v3 | |
| with: | |
| source_repo: "HumanBrainProject/model-catalog" | |
| source_branch: "staging" | |
| destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/model-validation/model-catalog.git" | |
| destination_branch: "staging" | |
| - name: synctags | |
| uses: wei/git-sync@v3 | |
| with: | |
| source_repo: "HumanBrainProject/model-catalog" | |
| source_branch: "refs/tags/*" | |
| destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/model-validation/model-catalog.git" | |
| destination_branch: "refs/tags/*" |