Skip to content
Closed
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .changeset/website-release-triggered-deploy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"nostream-website": patch
---

The site now deploys when a nostream-website release is published (changesets tags the release after the release PR merges) instead of on every push to main. Relay-only merges no longer trigger website deploys.
10 changes: 6 additions & 4 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ on:
- published
workflow_dispatch:

concurrency:
group: deploy-website
cancel-in-progress: false

jobs:
deploy:
# Concurrency lives on the job, not the workflow: a relay release
# (v* tag) fails the if below and must not enter this deploy queue,
# where it could replace a queued website deploy.
concurrency:
group: deploy-website
cancel-in-progress: false
if: >-
${{ startsWith(github.event.release.tag_name, 'nostream-website@') ||
github.event_name == 'workflow_dispatch' }}
Expand Down
Loading