Skip to content

Commit

Permalink
fix: environment
Browse files Browse the repository at this point in the history
  • Loading branch information
flavien-hugs committed Nov 3, 2024
1 parent 74feac9 commit 9a848b7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/sfs.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: "CI for SFS project"

on:
push:
branches:
- develop
pull_request:
branches:
- main
Expand Down Expand Up @@ -93,7 +96,7 @@ jobs:
needs: [test-code]
runs-on: ubuntu-latest
environment:
name: ${{ (github.ref == 'refs/heads/main' && 'latest') || (github.ref == 'refs/heads/develop' && 'dev') }}
name: ${{ (github.ref == 'refs/heads/main' && 'latest') || (github.ref == 'refs/heads/develop' && 'develop') }}
steps:
- name: 'Checkout code'
uses: actions/checkout@v3
Expand Down

0 comments on commit 9a848b7

Please sign in to comment.