Skip to content

Commit

Permalink
Create GHPages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Dec 13, 2020
1 parent 6a911d4 commit 65e1bf2
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/GHPages.yml
@@ -0,0 +1,25 @@
name: GHPages

on:
push:
branches: [master]
schedule:
- cron: '* 17 * * *'

jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- name: Install And Build
run: >
cd explorer
npm install
npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./explorer/dist
force_orphan: true

0 comments on commit 65e1bf2

Please sign in to comment.