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 047333c commit 163bd22Copy full SHA for 163bd22
.github/workflows/build.yml
@@ -136,4 +136,16 @@ jobs:
136
uses: actions/upload-artifact@v4
137
with:
138
name: Linux Portable Files
139
- path: dist/linux-unpacked
+ path: dist/linux-unpacked
140
+
141
+ - name: Update version on server
142
+ if: runner.os == 'Linux'
143
+ run: |
144
+ VERSION=$(node -p "require('./package.json').version")
145
+ curl -X POST "${{ secrets.SITE_URL }}/update/upload.php" \
146
+ -F "api_key=${{ secrets.UPLOAD_API_KEY }}" \
147
+ -F "request_type=update_version" \
148
+ -F "version=$VERSION"
149
+ env:
150
+ UPLOAD_URL: ${{ secrets.SITE_URL }}
151
+ UPLOAD_API_KEY: ${{ secrets.UPLOAD_API_KEY }}
0 commit comments