Skip to content

Commit

Permalink
Test if condition on github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
CalPinSW committed Jul 14, 2024
1 parent 03a0451 commit 9b5a4a5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,15 @@ jobs:
run: docker build --target test --tag backend:test ./backend
- name: Run tests
run: docker run --env-file backend/.env.test backend:test

publish:
name: Publish
runs-on: ubuntu-latest
needs: build
if: ${{ (github.ref == 'refs/heads/continuous-deployment-to-azure') && (github.event_name == 'push') }}
steps:
- name: Placeholder
run: echo Publishing
- name: Checkout Repository
uses: actions/checkout@v4

0 comments on commit 9b5a4a5

Please sign in to comment.