Skip to content

[IT-3230] Move agora data manager CI #7

[IT-3230] Move agora data manager CI

[IT-3230] Move agora data manager CI #7

Workflow file for this run

name: main
on:
push:
branches: [ 'develop','staging','prod' ]
jobs:
deploy:
# self hosted runner labels are setup in github to match branch names

Check failure on line 9 in .github/workflows/main.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yaml

Invalid workflow file

You have an error in your yaml syntax on line 9
runs-on: [self-hosted, ${{ github.ref_name }}]
# variables in context environments are setup in github to match branch names
environment:
name: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v4
- name: Import Synapse Data
run: ./import-data.sh $BRANCH $SYNAPSE_USERNAME $SYNAPSE_PASSWORD $DB_HOST $DB_USER $DB_PASS
env:
BRANCH: ${{ github.ref_name }}
SYNAPSE_USERNAME: ${{ secrets.SYNAPSE_USERNAME }}
SYNAPSE_PASSWORD: ${{ secrets.SYNAPSE_PASSWORD }}
DB_HOST: ${{ secrets.DB_HOST }}
DB_USER: ${{ secrets.DB_USER }}
DB_PASS: ${{ secrets.DB_PASS }}