chore(deps-dev): bump the regular-updates group #583
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: Design System Docs (main) | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish: | |
name: Publish release to Netlify | |
runs-on: ubuntu-latest | |
if: github.actor != 'dependabot[bot]' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
# We link the @citizensadvice/design-system package | |
# from the root but we only build the lib/ directory | |
# when we publish to npm, so we need to build it first. | |
- uses: bahmutov/npm-install@v1 | |
- run: npm run build | |
# Setup docs site | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3.5' | |
bundler-cache: true | |
working-directory: design-system-docs | |
# Install dependencies | |
- uses: bahmutov/npm-install@v1 | |
with: | |
working-directory: design-system-docs | |
- run: ./bin/bridgetown deploy | |
working-directory: design-system-docs | |
- name: Deploy production to Netlify | |
uses: South-Paw/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
netlify-auth-token: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
netlify-site-id: ${{ secrets.NETLIFY_SITE_ID }} | |
build-dir: ./design-system-docs/output | |
config-path: ./netlify.toml |