Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Add deploy github action #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
18 changes: 18 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: deploy

on: [push]

jobs:
deploy-github:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@master
with:
version: 12
registry-url: 'https://npm.pkg.github.com'
- name: Checkout code
uses: actions/checkout@v2
- name: Publish to Github repository
uses: shawnbot/npm-publish-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}