diff --git a/.github/workflows/build_main.yaml b/.github/workflows/build_main.yaml index 1a44e93..63fa8e9 100644 --- a/.github/workflows/build_main.yaml +++ b/.github/workflows/build_main.yaml @@ -48,7 +48,7 @@ jobs: -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ - "https://api.github.com/repos/$GITHUB_REPOSITORY/pages" \ + "https://api.github.com/repos/${{ github.repository_owner }}/${{ github.repository }}/pages" \ -d '{"source":{"branch":"main","path":"/"}}'