Skip to content

Commit 1eb3068

Browse files
Add react master token (#1340)
The PAT tokens for pulling the PL REACT site keep getting overwritten by Terraform. These will be redundant soon as we switch to the new QML pipeline, so for now I am swapping these all out with a master token to keep builds moving. This token has already been provisioned and verified. It will expire in June, by which time the new pipeline should be ready.
1 parent 2eca55f commit 1eb3068

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/build-json.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
aws_secret_access_key: ${{ secrets.PL_SITE_STAGING_NON_REACT_SECRET_ACCESS_KEY }}
4040
aws_json_s3_bucket_id: ${{ secrets.PL_SITE_STAGING_QML_JSON_S3_BUCKET_ID }}
4141
aws_html_s3_bucket_id: ${{ secrets.PL_SITE_STAGING_S3_BUCKET_NAME }}
42-
qml_react_pat_token: ${{ secrets.PL_SITE_STAGING_QML_REACT_PAT }}
42+
qml_react_pat_token: ${{ secrets.QML_REACT_MASTER }}
4343

4444
upload-dev:
4545
if: github.ref_name == 'dev'
@@ -58,4 +58,4 @@ jobs:
5858
aws_secret_access_key: ${{ secrets.PL_SITE_DEV_NON_REACT_SECRET_ACCESS_KEY }}
5959
aws_json_s3_bucket_id: ${{ secrets.PL_SITE_DEV_QML_JSON_S3_BUCKET_ID }}
6060
aws_html_s3_bucket_id: ${{ secrets.PL_SITE_DEV_S3_BUCKET_NAME }}
61-
qml_react_pat_token: ${{ secrets.PL_SITE_DEV_QML_REACT_PAT }}
61+
qml_react_pat_token: ${{ secrets.QML_REACT_MASTER }}

.github/workflows/deploy-demos-to-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
env:
3838
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
3939
with:
40-
token: ${{ secrets.PL_SITE_PROD_QML_REACT_PAT }}
40+
token: ${{ secrets.QML_REACT_MASTER }}
4141
repository: XanaduAI/pennylane.ai-react
4242
event-type: build-pl-site-main
4343
client-payload: '{"actor": "${{ github.actor }}", "triggering_actor": "${{ github.triggering_actor }}", "source_run_url": "${{ env.RUN_URL }}"}'

.github/workflows/deploy-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
repository: XanaduAI/pennylane.ai-react
9292
ref: main
9393
path: pennylane.ai-react
94-
token: ${{ secrets.PL_SITE_DEV_QML_REACT_PAT }}
94+
token: ${{ secrets.QML_REACT_MASTER }}
9595

9696
- name: Clone QML
9797
if: steps.build_context.outputs.result != ''

0 commit comments

Comments
 (0)