Skip to content

Commit

Permalink
Merge pull request #1175 from explorable-viz/disable-npm
Browse files Browse the repository at this point in the history
Disable `deploy-npm` for now
  • Loading branch information
rolyp authored Nov 15, 2024
2 parents 135b7cb + 877083e commit ba8be0c
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,28 @@ jobs:
build:
uses: ./.github/workflows/build.yml

deploy-npm:
runs-on: ubuntu-22.04
needs: build
if: github.ref == 'refs/heads/release'
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: 'https://registry.npmjs.org'
- run: |
yarn npm-publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# deploy-npm:
# runs-on: ubuntu-22.04
# needs: build
# if: github.ref == 'refs/heads/release'
# permissions:
# contents: read
# id-token: write
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v4
# with:
# node-version: 22
# registry-url: 'https://registry.npmjs.org'
# - run: |
# yarn npm-publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

deploy-gh-pages:
runs-on: ubuntu-22.04
needs: deploy-npm
needs: build
# needs: deploy-npm
if: github.ref == 'refs/heads/release'
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit ba8be0c

Please sign in to comment.