Skip to content

Commit

Permalink
feat: add github pages action
Browse files Browse the repository at this point in the history
  • Loading branch information
altrusl committed May 27, 2024
1 parent f3074a0 commit 44aeadf
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/gp-deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build and Deploy
on:
push:
branches: [main]
workflow_dispatch:
branches: [ "main", "development" ]
permissions:
contents: write
# pages: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 8.5.0
run_install: false

- name: Install dependencies
run: pnpm install

- run: pnpm build

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist
branch: gh-pages

0 comments on commit 44aeadf

Please sign in to comment.