Skip to content

applying package updates #439

applying package updates

applying package updates #439

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
if: ${{ contains(github.event.head_commit.message, 'applying package updates') || github.event_name == 'workflow_dispatch' }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: '18'
- run: yarn install --immutable
- run: yarn nx run-many --target=build --projects=@griffel/website --parallel --max-parallel=3
- name: Upload artifacts
uses: actions/upload-pages-artifact@v1
with:
path: './dist/apps/website'
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1