Skip to content

Commit 1a80dbd

Browse files
author
Herve Tribouilloy
committed
Tuned CI and increased version
1 parent 2a718cf commit 1a80dbd

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ jobs:
4949
- name: Publish artifact
5050
run: |
5151
VERSION=$(node -p "require('./vite_project/package.json').version")
52+
mv www/widget/usp.css www/widget-usp@${VERSION}.css
5253
ssh ${{ secrets.WIDGET_SSH_USER }}@${{ secrets.WIDGET_SSH_HOST }} \
5354
"mkdir -p /var/www/widgets/usp"
5455
rsync -av \
5556
--chown=www-data:www-data \
5657
www/widget-usp@${VERSION}.iife.js* \
57-
mv www/widget/usp.css www/widget-usp@${VERSION}.css
5858
${{ secrets.WIDGET_SSH_USER }}@${{ secrets.WIDGET_SSH_HOST }}:/var/www/widgets/usp/

vite_project/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vite_project/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "widget-usp",
33
"private": true,
4-
"version": "0.1.1",
4+
"version": "0.1.3",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

0 commit comments

Comments
 (0)