Skip to content

Commit

Permalink
chore: adjusted post-release build job
Browse files Browse the repository at this point in the history
  • Loading branch information
Kammerlo committed May 2, 2024
1 parent 5a45fbc commit 6648b82
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/post_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,15 @@ jobs:
file: ./packages/api-cardano-db-hasura/hasura/Dockerfile
push: true
tags: ${{ steps.base-variables.outputs.cardano-graphql-hasura-image }}:${{ github.sha }}, cardanofoundation/cardano-graphql-hasura:${{ github.event.release.tag_name }}, cardanofoundation/cardano-graphql-hasura:latest

- name: 📤 Publish packages to npm registry
if: ${{ matrix.network == 'mainnet' }}
run: |
yarn install --offline --frozen-lockfile --non-interactive --logevel=error
npx npm-cli-login -u ${{ secrets.NPM_REGISTRY_USER }} -e ${{ secrets.NPM_REGISTRY_EMAIL }} -p ${{ secrets.NPM_REGISTRY_TOKEN }}
scripts/publish_packages.sh
rm -f .npmrc

# Removed push to npm for now, will add it later again
# - name: 📤 Publish packages to npm registry
# if: ${{ matrix.network == 'mainnet' }}
# run: |
# yarn install --offline --frozen-lockfile --non-interactive --logevel=error
# npx npm-cli-login -u ${{ secrets.NPM_REGISTRY_USER }} -e ${{ secrets.NPM_REGISTRY_EMAIL }} -p ${{ secrets.NPM_REGISTRY_TOKEN }}
# scripts/publish_packages.sh
# rm -f .npmrc

- name: 🔨 Build docs
if: ${{ matrix.network == 'mainnet' }}
Expand Down

0 comments on commit 6648b82

Please sign in to comment.