Skip to content

Commit

Permalink
[Fix] 🐛 Nightly Branch in CodeSandbox Deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-zklcdc committed May 8, 2024
1 parent 7686745 commit ae5d85b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit ae5d85b

Please sign in to comment.