Skip to content

Commit

Permalink
Add koajs.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed May 30, 2020
1 parent a9b1cec commit 0c2c647
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/koajs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Get Document Static
on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/setup-node@v1
with:
node-version: "13.x"
registry-url: "https://registry.npmjs.org/"

- name: Get Static
run: |
git clone https://github.com/koajs/koajs.com -b gh-pages --single-branch koajs.com --depth 1
- name: Deploy koajs.com
uses: peaceiris/[email protected]
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: koajs.com
PUBLISH_DIR: ./koajs.com

0 comments on commit 0c2c647

Please sign in to comment.