Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 13 commits into from
Jan 5, 2024
Prev Previous commit
always run tests before deploy
zaro0508 committed Jan 5, 2024
commit 736d64fa02d42dfd30db38e90582aeb1a3e85b3c
3 changes: 2 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -7,14 +7,15 @@ on:
branches: ['develop', 'staging', 'prod' ]

jobs:
test:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pre-commit/action@v3.0.0

deploy:
if: ${{ github.event_name == 'push' }}
needs: ["tests"]
# self hosted runner labels are setup in github to match branch names
runs-on: [self-hosted, "${{ github.ref_name }}"]
# variables in context environments are setup in github to match branch names