Skip to content
Merged
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
9 changes: 4 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
github.event.workflow_run.head_repository.full_name == github.repository)
runs-on: ubuntu-latest
timeout-minutes: 25
environment: production
permissions:
contents: read
id-token: write
Expand Down Expand Up @@ -139,6 +138,10 @@ jobs:
echo "publish-needed=$publish_needed"
} >> "$GITHUB_OUTPUT"

- name: Publish package to npm
if: steps.package.outputs.publish-needed == 'true'
run: npm publish --access public --provenance

- name: Login to Azure
uses: azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5
with:
Expand Down Expand Up @@ -190,10 +193,6 @@ jobs:
--endpoint-name "$AZURE_CDN_ENDPOINT_NAME" \
--content-paths /public/scripts/app.min.js

- name: Publish package to npm
if: steps.package.outputs.publish-needed == 'true'
run: npm publish --access public --provenance

- name: Write deployment summary
run: |
{
Expand Down
Loading