Skip to content

Commit

Permalink
Conditional environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jobus0 committed Dec 17, 2024
1 parent a1f2782 commit 9ee931e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
id-token: write

environment:
name: github-pages
name: ${{ github.ref_name == 'master' && 'github-pages' || 'develop-pages' }}
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
Expand Down

0 comments on commit 9ee931e

Please sign in to comment.