Skip to content

Commit

Permalink
Deploy GitHub Pages via GitHub Actions (puzztool#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfarnung committed Feb 3, 2021
1 parent 0d3b379 commit 00cb94a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: puzztool Deploy

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x
- run: npm ci
- run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
cname: puzztool.com
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build

0 comments on commit 00cb94a

Please sign in to comment.