forked from adams549659584/go-proxy-bingai
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix] 🐛 Nightly Branch in CodeSandbox Deploy
- Loading branch information
1 parent
7686745
commit ae5d85b
Showing
1 changed file
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,7 @@ jobs: | |
echo "BODY=Released on $(date +%Y-%m-%d)" >> $GITHUB_ENV | ||
DATE=$(date +%Y.%m.%d) | ||
sed -i "s/\"version\": \".*\"/\"version\": \"$DATE-nightly\"/g" frontend/package.json | ||
sed -i 's|go-proxy-bingai/releases/latest|go-proxy-bingai/releases/download/nightly|g' .devcontainer/Dockerfile | ||
- name: Build Frontend | ||
run: | | ||
|
@@ -57,6 +58,7 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "Harry-zklcdc" | ||
git add web/* | ||
git add .devcontainer/Dockerfile | ||
git commit -m "[Upgrade] 🚀 Upload nightly webFile" | ||
git tag -a nightly -m "Released on $(date +%Y-%m-%d)" | ||
git push -f origin HEAD:nightly | ||
|