Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Master branch deploy
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: npm install
- run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
PUBLISH_DIR: _site
PUBLISH_BRANCH: gh-pages
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17 changes: 17 additions & 0 deletions .github/workflows/deploy_manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Manual deploy
on:
workflow_dispatch

jobs:
build_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: npm install
- run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
PUBLISH_DIR: _site
PUBLISH_BRANCH: gh-pages
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.