0
Fork 0
mirror of https://github.com/penpot/penpot-plugins.git synced 2025-01-08 16:00:27 -05:00
penpot-plugins/.github/workflows/pages.yml

39 lines
804 B
YAML
Raw Normal View History

2024-06-07 05:45:46 -05:00
name: CI Styles Page
on:
push:
branches: ['main']
pull_request:
branches: ['main']
workflow_dispatch:
jobs:
build-and-deploy:
2024-06-07 05:53:41 -05:00
name: Deploy github pages
2024-06-07 05:45:46 -05:00
runs-on: ubuntu-latest
steps:
- name: Checkout repository content
uses: actions/checkout@v4
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
- name: Install Dependencies
id: npm-ci
run: npm ci
- name: Build the project
2024-06-07 06:42:02 -05:00
run: npm run build:styles-example -- --base penpot-plugins
2024-06-07 05:45:46 -05:00
2024-06-07 05:53:41 -05:00
- name: Deploy
2024-06-07 05:45:46 -05:00
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist/apps/example-styles