File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,12 @@ jobs:
30
30
git config --global user.name "GitHub Action"
31
31
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
32
32
if [[ ${GITHUB_REF} = refs/pull/*/merge ]]; then # pull request
33
- echo "::set-output name= SRC_BRANCH:: ${GITHUB_HEAD_REF}"
34
- echo "::set-output name= NO_PUSH:: --no-push"
33
+ echo "SRC_BRANCH= ${GITHUB_HEAD_REF}" >> $GITHUB_OUTPUT
34
+ echo "NO_PUSH= --no-push" >> $GITHUB_OUTPUT
35
35
elif [[ ${GITHUB_REF} = refs/heads/* ]]; then # branch, e.g. master, source etc
36
- echo "::set-output name= SRC_BRANCH:: ${GITHUB_REF#refs/heads/}"
36
+ echo "SRC_BRANCH= ${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
37
37
fi
38
- echo "::set-output name= DEPLOY_BRANCH:: gh-pages"
38
+ echo "DEPLOY_BRANCH= gh-pages" >> $GITHUB_OUTPUT
39
39
- name : Deploy website
40
40
run : yes | bash bin/deploy --verbose ${{ steps.setup.outputs.NO_PUSH }}
41
41
--src ${{ steps.setup.outputs.SRC_BRANCH }}
You can’t perform that action at this time.
0 commit comments