Skip to content

Commit

Permalink
add Node CD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
philomath213 committed Oct 7, 2019
1 parent ac2af11 commit 03fa62c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/node_cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Node CD

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Use Node.js 12.11
uses: actions/setup-node@v1
with:
node-version: 12.11
- name: npm install, lint, and build
run: |
npm install
npm run lint
npm run build
- name: deploy
uses: peaceiris/[email protected]
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
EXTERNAL_REPOSITORY: malware-revealer/malware-revealer
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./dist

0 comments on commit 03fa62c

Please sign in to comment.