Skip to content

Commit

Permalink
Disable deploying to GPM
Browse files Browse the repository at this point in the history
We have to wait to be cleared for the private beta access first before we can actually deploy to this.
  • Loading branch information
kevin-brown committed Sep 12, 2019
1 parent 3bc5e4e commit 2e4c113
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/package-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,33 @@ on:
release: ~

jobs:
deploy_github:
name: GitHub Package Registry
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js 8
uses: actions/setup-node@v1
with:
node-version: 8
registry-url: https://npm.pkg.github.com/
scope: '@select2'
- name: npm install
run: npm install
- name: Run linting, tests, minify
run: grunt
- name: Deploy (release)
if: github.event_name == 'release'
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Deploy (release candidate)
if: github.event_name == 'push'
run: |
npm --no-git-tag-version version prerelease
npm publish --tag next
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
# deploy_github:
# name: GitHub Package Registry
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - name: Use Node.js 8
# uses: actions/setup-node@v1
# with:
# node-version: 8
# registry-url: https://npm.pkg.github.com/
# scope: '@select2'
# - name: npm install
# run: npm install
# - name: Run linting, tests, minify
# run: grunt
# - name: Deploy (release)
# if: github.event_name == 'release'
# run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
# - name: Deploy (release candidate)
# if: github.event_name == 'push'
# run: |
# npm --no-git-tag-version version prerelease
# npm publish --tag next
# env:
# NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
deploy_npm:
name: NPM
runs-on: ubuntu-latest
Expand Down

0 comments on commit 2e4c113

Please sign in to comment.