fix(styles,theme): add S2 tokens and theme (#4241) #5040
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Site publish | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
site-build: | |
name: Build & publish site | |
runs-on: ubuntu-latest | |
# Run the job if manually triggered or if the commit message includes '#publish' & the check suite has passed | |
if: github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '#publish') | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
cache: 'yarn' | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Generate Docs | |
run: yarn docs:ci | |
- name: Deploy to GitHub Pages | |
run: | | |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git | |
npx gh-pages -d projects/documentation/dist -m "[skip ci] update demonstration site" -t -u "github-actions-bot <support+actions@github.com>" --nojekyll | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |