Skip to content

Commit 0c7c9cf

Browse files
committed
use GITHUB_OUTPUT
1 parent a9525ce commit 0c7c9cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515
id: check
1616
run: |
1717
if [ "${{ github.repository }}" = "jazzsequence/profile.github.io" ]; then
18-
echo "should_deploy=false" >> $GITHUB_ENV
18+
echo "should_deploy=false" >> $GITHUB_OUTPUT
1919
echo "Actions running on parent repository. Deploy to GitHub pages will be skipped."
2020
else
21-
echo "should_deploy=true" >> $GITHUB_ENV
21+
echo "should_deploy=true" >> $GITHUB_OUTPUT
2222
echo "Actions running on forked repository. Deploying to GitHub is enabled."
2323
fi
2424
env:
25-
GITHUB_OUTPUT: $GITHUB_ENV
25+
GITHUB_OUTPUT: $GITHUB_OUTPUT
2626
deploy:
2727
runs-on: ubuntu-latest
2828
if: needs.precheck.outputs.should_deploy == 'true'

0 commit comments

Comments
 (0)