Skip to content

Commit

Permalink
update runtime download url to s3/pre
Browse files Browse the repository at this point in the history
  • Loading branch information
elff1 committed Jul 3, 2024
1 parent 6be0615 commit 96ed469
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VGG_DOWNLOAD=https://s3.vgg.cool/test
VGG_DOWNLOAD=https://s3.vgg.cool/pre
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- name: Set env variables
run: |
echo "VGG_DOWNLOAD=https://s3.vgg.cool/test" >> $GITHUB_ENV
echo "VGG_DOWNLOAD=https://s3.vgg.cool/pre" >> $GITHUB_ENV
- name: Build website
run: pnpm run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- name: Set env variables
run: |
echo "VGG_DOWNLOAD=https://s3.vgg.cool/test" >> $GITHUB_ENV
echo "VGG_DOWNLOAD=https://s3.vgg.cool/pre" >> $GITHUB_ENV
- name: Test build website
run: pnpm run build
2 changes: 1 addition & 1 deletion scripts/downloadRuntime.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// download files from https://s5.vgg.cool/runtime/latest/
// download files from $VGG_DOWNLOAD in `.env`
import fs from "node:fs"
import path from "node:path"
import fetch from "node-fetch"
Expand Down

0 comments on commit 96ed469

Please sign in to comment.