diff --git a/.github/workflows/build_docs.yaml b/.github/workflows/build_docs.yaml index a4adf6357..68e800185 100644 --- a/.github/workflows/build_docs.yaml +++ b/.github/workflows/build_docs.yaml @@ -4,7 +4,7 @@ on: push: branches: [ main ] release: - types: [ created ] + types: [ released ] concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} @@ -45,7 +45,7 @@ jobs: branch: gh-pages folder: docs/_build/ clean: false - target-folder: ${{ github.ref }} + target-folder: ${{ github.ref_name }} - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4