Skip to content

Commit

Permalink
Add github pages (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
chanwutk authored Aug 9, 2023
1 parent 69da471 commit 2714093
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publish GitHub Pages

on:
push:
branches: [ main ]

jobs:
publish:
name: Publish GitHub Pages
runs-on: ubuntu-latest

steps:
- name: Set up Git repository
uses: actions/checkout@v3

- name: Setup GitHub Pages Folder
run: |
rm -rf ./build
mkdir ./build
cp ./README.md ./build/
- name: Publish Website
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: 'build'
single-commit: true

0 comments on commit 2714093

Please sign in to comment.