diff --git a/.github/workflows/website-deploy.yml b/.github/workflows/website-deploy.yml index 57928a1bb..b43e7c69b 100644 --- a/.github/workflows/website-deploy.yml +++ b/.github/workflows/website-deploy.yml @@ -28,6 +28,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + ref: ${{ github.event_name == 'release' && 'main' || github.ref }} - uses: actions/setup-node@v3 with: node-version: '18.x'