Skip to content

Commit

Permalink
ci: deploy to stage from main only (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrebeauguitte authored Apr 15, 2024
1 parent 83ca0be commit 9dcd006
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
name: Deploy to kubernetes stage environment
needs: build-and-publish
runs-on: [self-hosted, Linux]
if: github.ref == 'refs/heads/main'
environment: stage
steps:
- name: Checkout repository
Expand Down

0 comments on commit 9dcd006

Please sign in to comment.