Skip to content

Commit 450202f

Browse files
committed
feat: add VITE_BASE_URL and VITE_API_BASE_URL env variables to GitHub workflow
1 parent 3a39844 commit 450202f

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/package.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ on:
66
permissions: write-all
77

88
env:
9-
VITE_UMAMI_SCRIPT_URL: ${{ secrets.VITE_UMAMI_SCRIPT_URL }}
10-
VITE_UMAMI_DATA_WEBSITE_ID: ${{ secrets.VITE_UMAMI_DATA_WEBSITE_ID }}
9+
VITE_UMAMI_SCRIPT_URL: ${{ secrets.VITE_UMAMI_SCRIPT_URL }}
10+
VITE_UMAMI_DATA_WEBSITE_ID: ${{ secrets.VITE_UMAMI_DATA_WEBSITE_ID }}
11+
VITE_BASE_URL: ${{ secrets.VITE_BASE_URL }}
12+
VITE_API_BASE_URL: ${{ secrets.VITE_API_BASE_URL }}
1113

1214
jobs:
1315
change-version:
@@ -176,7 +178,7 @@ jobs:
176178
echo "Submitting app for notarization..."
177179
# First compress the app
178180
ditto -c -k --keepParent "${app_path}" "app.zip"
179-
181+
180182
# Submit for notarization
181183
xcrun notarytool submit "app.zip" \
182184
--apple-id "$APPLE_ID" \
@@ -246,22 +248,22 @@ jobs:
246248
name: macos_${{ matrix.target }}_dmg
247249
path: src-tauri/target/${{ matrix.target }}/release/bundle/dmg/*.dmg
248250
if-no-files-found: error
249-
251+
250252
- name: Upload Artifacts
251253
uses: actions/upload-artifact@v4
252254
with:
253255
name: macos_${{ matrix.target }}_updater
254256
path: src-tauri/target/${{ matrix.target }}/release/bundle/macos/*.app*
255257
if-no-files-found: error
256-
258+
257259
- name: Upload Release
258260
if: startsWith(github.ref, 'refs/tags')
259261
uses: softprops/action-gh-release@v1
260262
with:
261263
body_path: CHANGELOG
262264
token: ${{ secrets.GITHUB_TOKEN }}
263265
files: src-tauri/target/${{ matrix.target }}/release/bundle/dmg/*.dmg
264-
266+
265267
- name: Upload Release
266268
if: startsWith(github.ref, 'refs/tags')
267269
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)