Skip to content

Commit

Permalink
Add FiGMA_API_TOKEN secrets to env in deploy workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
danielguillan committed Oct 3, 2024
1 parent 62fb27b commit 0d4e379
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
client-id: ${{ vars.DOTCOM_SHARED_COMPONENTS_APP_CLIENT_ID }}
client-secret: ${{ secrets.DOTCOM_SHARED_COMPONENTS_APP_CLIENT_SECRET }}
installation-id: ${{ vars.DOTCOM_SHARED_COMPONENTS_APP_INSTALLATION_ID }}

- name: Checkout default branch
uses: actions/checkout@v2

Expand All @@ -53,6 +52,7 @@ jobs:
run: yarn build
env:
GITHUB_TOKEN: ${{ steps.get-dotcom-access-token.outputs.access-token }}
FIGMA_API_TOKEN: ${{ secrets.FIGMA_API_TOKEN }}

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
run: yarn build:preview
env:
GITHUB_TOKEN: ${{ steps.get-dotcom-access-token.outputs.access-token }}
FIGMA_API_TOKEN: ${{ secrets.FIGMA_API_TOKEN }}

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
Expand Down

0 comments on commit 0d4e379

Please sign in to comment.