fix(ci): pass explicit version to demo server update
Previously the workflow ran install.sh without --version, which caused it to download the latest stable release instead of the target release tag. This was causing the demo server to downgrade from RC versions to stable when triggered via workflow_dispatch.
This commit is contained in:
parent
61da37a427
commit
d43cb9fce9
1 changed files with 2 additions and 1 deletions
3
.github/workflows/update-demo-server.yml
vendored
3
.github/workflows/update-demo-server.yml
vendored
|
|
@ -117,8 +117,9 @@ jobs:
|
|||
- name: Update demo server
|
||||
if: steps.gate.outputs.skip != 'true' && steps.current.outputs.skip_current != 'true'
|
||||
run: |
|
||||
TAG="${{ steps.target.outputs.tag }}"
|
||||
ssh -i ~/.ssh/id_ed25519 ${{ secrets.DEMO_SERVER_USER }}@${{ secrets.DEMO_SERVER_HOST }} \
|
||||
'curl -fsSL https://raw.githubusercontent.com/rcourtman/Pulse/main/install.sh | sudo bash'
|
||||
"curl -fsSL https://raw.githubusercontent.com/rcourtman/Pulse/main/install.sh | sudo bash -s -- --version $TAG"
|
||||
|
||||
- name: Verify update
|
||||
if: steps.gate.outputs.skip != 'true' && steps.current.outputs.skip_current != 'true'
|
||||
|
|
|
|||
Loading…
Reference in a new issue