We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2358824 commit 670cc9aCopy full SHA for 670cc9a
.github/workflows/build.yml
@@ -70,6 +70,7 @@ jobs:
70
run: npx yarn dist -- --url ${{ secrets.SITE_URL }} --portable
71
72
- name: Upload build artifacts to server
73
+ if: contains(github.event.head_commit.message, '[release]')
74
run: node scripts/uploader.js --dir=dist
75
env:
76
UPLOAD_URL: ${{ secrets.SITE_URL }}
@@ -139,7 +140,7 @@ jobs:
139
140
path: dist/linux-unpacked
141
142
- name: Update version on server
- if: runner.os == 'Linux'
143
+ if: runner.os == 'Linux' && contains(github.event.head_commit.message, '[release]')
144
run: |
145
VERSION=$(node -p "require('./package.json').version")
146
curl -X POST "${{ secrets.SITE_URL }}/update/upload.php" \
0 commit comments