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
8 changes: 6 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,12 @@ jobs:

- name: Update version in demo.html
run: |
sed -i 's|tip4serv.min.js"|tip4serv.min.js?v=${{ steps.version.outputs.version }}"|g' demo.html
echo "✅ Updated demo.html with version ${{ steps.version.outputs.version }}"
VERSION="${{ steps.version.outputs.version }}"
# Update script src
sed -i 's|tip4serv.min.js"|tip4serv.min.js?v='"$VERSION"'"|g' demo.html
# Update quickstart example
sed -i 's|src="tip4serv.js"|src="https://js.tip4serv.com/tip4serv.min.js?v='"$VERSION"'"|g' demo.html
echo "✅ Updated demo.html with version $VERSION"

- name: Prepare deployment folder
run: |
Expand Down
Loading