diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index b4a23e56..bd3b8263 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -228,7 +228,8 @@ jobs: run: twine upload --repository codeartifact dist/* # ── 5. Trigger DEV deployment in Lambda-Recipes ─────────────────────────── - # CROSS_REPO_PAT: a GitHub PAT with Actions read/write on Lambda-Recipes, + # CROSS_REPO_PAT_V2: a GitHub PAT with Actions read/write on Lambda-Recipes + # (and Contents read/write on wrangleworks.github.io for schema publish), # stored as a repository or org secret. Required to dispatch workflows across repositories. trigger-deploy-dev: name: Trigger DEV Deploy @@ -271,7 +272,7 @@ jobs: owner: wrangleworks repo: Lambda-Recipes workflow_file_name: deploy-dev.yml - github_token: ${{ secrets.CROSS_REPO_PAT }} + github_token: ${{ secrets.CROSS_REPO_PAT_V2 }} ref: main wait_interval: 15 client_payload: ${{ steps.dispatch.outputs.payload }} diff --git a/.github/workflows/publish-tagged.yml b/.github/workflows/publish-tagged.yml index 5581c33a..b72c577c 100644 --- a/.github/workflows/publish-tagged.yml +++ b/.github/workflows/publish-tagged.yml @@ -392,7 +392,8 @@ jobs: # ── Trigger PROD deployment in Lambda-Recipes ───────────────────────────── # Runs after publish-pypi (or when skipped) because Lambda-Recipes verify-setup # requires the version to exist on PyPI before the deploy pipeline starts. - # CROSS_REPO_PAT: GitHub PAT with Actions read/write on Lambda-Recipes. + # CROSS_REPO_PAT_V2: GitHub PAT with Actions read/write on Lambda-Recipes + # (and Contents read/write on wrangleworks.github.io for Deploy Dev schema publish). trigger-deploy-prod: name: Trigger PROD Deploy runs-on: ubuntu-latest @@ -435,7 +436,7 @@ jobs: owner: wrangleworks repo: Lambda-Recipes workflow_file_name: deploy-prod.yml - github_token: ${{ secrets.CROSS_REPO_PAT }} + github_token: ${{ secrets.CROSS_REPO_PAT_V2 }} ref: main wait_interval: 15 client_payload: ${{ steps.dispatch.outputs.payload }}