We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 394741a commit 9b203fcCopy full SHA for 9b203fc
.github/workflows/deploy.yml
@@ -15,6 +15,9 @@ jobs:
15
- id: environment
16
shell: bash
17
run: |
18
+ echo "event_name: ${{ github.event_name }}"
19
+ echo "ref: ${{ github.ref }}"
20
+
21
if [[ ${{ github.event_name }} == 'push' ]]; then
22
echo "environment=production" >> $GITHUB_OUTPUT
23
echo "url=https://test-github-features.fly.dev" >> $GITHUB_OUTPUT
@@ -25,6 +28,8 @@ jobs:
25
28
echo "environment=development" >> $GITHUB_OUTPUT
26
29
echo "url=https://test-github-features-staging.fly.dev" >> $GITHUB_OUTPUT
27
30
fi
31
32
+ echo "environment=\"${{ steps.environment.outputs.environment }}\""
33
deploy:
34
needs: environment
35
if: ${{ needs.environment.outputs.environment }}
0 commit comments