diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 4130a00..14772df 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -16,11 +16,12 @@ jobs: uses: actions/checkout@v3 - name: Clone schwab-scraper + env: + CLONE_TOKEN: ${{ secrets.CR_PAT }} run: | mkdir -p vendor - # Use the built-in runner token which has cross-repo access. git clone --depth=1 --branch main \ - "https://oauth2:${{ github.token }}@gitea.ext.ben.io/b3nw/schwab-scraper.git" \ + "https://x-access-token:${CLONE_TOKEN}@gitea.ext.ben.io/b3nw/schwab-scraper.git" \ vendor/schwab-scraper - name: Login to Gitea Container Registry