Skip to content

Commit

Permalink
postjam deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
rndD committed Sep 24, 2024
1 parent 7c99004 commit ab87c05
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

name: GitHub Pages

on:
push:
branches:
- post-jam

pull_request:

jobs:
deploy:
runs-on: node:22
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
defaults:
run:
working-directory: website
steps:
- uses: actions/checkout@v3


- run: npm install
- run: npm build

- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist

0 comments on commit ab87c05

Please sign in to comment.