Skip to content

Commit

Permalink
Create gh-pages.yml (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigh authored Jul 23, 2024
2 parents 35778a5 + e017d59 commit f731739
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Deploy to GitHub Pages

on:
push:
branches: [main]
workflow_dispatch:

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install and Build
run: |
yarn install
yarn build
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: build
clean: true
clean-exclude: .nojekyll
single-commit: true

0 comments on commit f731739

Please sign in to comment.