diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f6455fdf78b8..0301f08040fc 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,12 +30,12 @@ jobs: git config --global user.name "GitHub Action" git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" if [[ ${GITHUB_REF} = refs/pull/*/merge ]]; then # pull request - echo "::set-output name=SRC_BRANCH::${GITHUB_HEAD_REF}" - echo "::set-output name=NO_PUSH::--no-push" + echo "SRC_BRANCH=${GITHUB_HEAD_REF}" >> $GITHUB_OUTPUT + echo "NO_PUSH=--no-push" >> $GITHUB_OUTPUT elif [[ ${GITHUB_REF} = refs/heads/* ]]; then # branch, e.g. master, source etc - echo "::set-output name=SRC_BRANCH::${GITHUB_REF#refs/heads/}" + echo "SRC_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT fi - echo "::set-output name=DEPLOY_BRANCH::gh-pages" + echo "DEPLOY_BRANCH=gh-pages" >> $GITHUB_OUTPUT - name: Deploy website run: yes | bash bin/deploy --verbose ${{ steps.setup.outputs.NO_PUSH }} --src ${{ steps.setup.outputs.SRC_BRANCH }}