diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4e7af5cda8..1fef57b7ae 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -234,6 +234,12 @@ jobs: git checkout -b publish/$GITHUB_REF_NAME npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN pnpm nx-release --local=false $GITHUB_REF_NAME + - name: Trigger Docs Release + if: ${{ !github.event.release.prerelease }} + run: | + # We force recreate the branch in order to always be up to date and avoid merge conflicts within the automated workflow + git branch -f website + git push -f origin website env: GH_TOKEN: ${{ github.token }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}