diff --git a/.github/workflows/v3-docs.yml b/.github/workflows/v3-docs.yml index 977ed9bbc..d76765907 100644 --- a/.github/workflows/v3-docs.yml +++ b/.github/workflows/v3-docs.yml @@ -2,9 +2,12 @@ name: Deploy to GitHub Pages on: # Trigger the workflow every time you push to the `main` branch - # Using a different branch name? Replace `main` with your branch’s name + # Using a different branch name? Replace `main` with your branch's name push: branches: [v3-alpha] + paths: + - 'docs/**' + - '.github/workflows/v3-docs.yml' # Allows you to run this workflow manually from the Actions tab on GitHub. workflow_dispatch: @@ -42,6 +45,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 -env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} \ No newline at end of file + uses: actions/deploy-pages@v4 \ No newline at end of file