feat: gradient #46
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
on: | |
push: | |
branches: | |
- '**' | |
- '!main' | |
paths: | |
- 'component-docs/**' | |
name: Deploy Seed Component Docs Alpha Pages | |
jobs: | |
deploy: | |
name: Deploy Seed Component Docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20.11.0 | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn install --immutable | |
- name: Build Packages | |
run: yarn build-only-package | |
- name: Build `Seed Component Docs` | |
working-directory: ./component-docs | |
run: | | |
yarn build | |
- name: Alpha Deploy `Seed Docs` at Cloudflare pages | |
uses: cloudflare/wrangler-action@v3 | |
with: | |
apiToken: ${{ secrets.CF_API_TOKEN }} | |
accountId: ${{ secrets.CF_ACCOUNT_ID }} | |
command: pages deploy ./component-docs/out --project-name=seed-component-docs --branch=${{ github.ref_name }} |