feat: add CI CD (#136)

This commit is contained in:
Dream Hunter
2024-04-16 13:48:23 +08:00
committed by GitHub
parent f43ec672f3
commit b619b11a92
4 changed files with 611 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ jobs:
- name: Deploy Backend for ${{ github.ref_name }}
run: |
cd worker/
echo ${{ secrets.BACKEND_TOML }} > wrangler.toml
echo "${{ secrets.BACKEND_TOML }}" > wrangler.toml
export project_name=${{ secrets.BACKEND_NAME }}
pnpm install --no-frozen-lockfile
pnpm run deploy:preview --project-name=$project_name