diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..498c683 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -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 }}