Skip to content

fix the fgColor-done for dark mode to pass contrast #2069

fix the fgColor-done for dark mode to pass contrast

fix the fgColor-done for dark mode to pass contrast #2069

Workflow file for this run

name: Deploy preview
on:
pull_request:
permissions:
contents: read
pages: write
id-token: write
deployments: write
jobs:
deploy:
name: Build and deploy
uses: primer/.github/.github/workflows/deploy_preview.yml@v2
with:
node_version: 20
install: npm ci --no-audit --no-fund --ignore-scripts && npm run install:storybook
build: npm run build:tokens && npm run build && npm run build:next && cd docs/storybook && npm run build:preview
output_dir: docs/public
post_storybook:
needs: deploy
name: Link storybook
runs-on: ubuntu-latest
permissions:
deployments: write
steps:
- uses: chrnorm/deployment-action@v2
name: Post deployment url
id: deployment
with:
token: '${{ secrets.GITHUB_TOKEN }}'
environment-url: ${{needs.deploy.outputs.deployment_url}}/storybook
environment: storybook-preview
- name: Update deployment status (success)
if: success()
uses: chrnorm/deployment-status@v2
with:
token: '${{ secrets.GITHUB_TOKEN }}'
environment-url: ${{needs.deploy.outputs.deployment_url}}/storybook
state: 'success'
deployment-id: ${{ steps.deployment.outputs.deployment_id }}
- name: Update deployment status (failure)
if: failure()
uses: chrnorm/deployment-status@v2
with:
token: '${{ secrets.GITHUB_TOKEN }}'
environment-url: ${{needs.deploy.outputs.deployment_url}}/storybook
state: 'failure'
deployment-id: ${{ steps.deployment.outputs.deployment_id }}