Skip to content

Commit

Permalink
Add manual trigger to docs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sergi0g committed Jul 17, 2024
1 parent 35f96d1 commit bea4e67
Showing 1 changed file with 20 additions and 19 deletions.
39 changes: 20 additions & 19 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,24 @@ name: Deploy github pages
on:
push:
paths:
- 'docs/**'
- "docs/**"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- run: cd docs/
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Publish
uses: actions/upload-pages-artifact@v3
with:
path: out/
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- run: cd docs/
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Publish
uses: actions/upload-pages-artifact@v3
with:
path: out/

0 comments on commit bea4e67

Please sign in to comment.