mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-05-07 08:22:52 +08:00
feat: add CI CD (#137)
This commit is contained in:
2
.github/workflows/backend_deploy.yaml
vendored
2
.github/workflows/backend_deploy.yaml
vendored
@@ -46,7 +46,7 @@ jobs:
|
||||
if [[ ${{ github.event.inputs.production }} == true ]]; then
|
||||
pnpm run deploy --project-name=$project_name
|
||||
echo "Deploying prodcution for ${{ github.ref_name }}"
|
||||
elif [[ ${{github.ref}} == refs/tags/* ]]; then
|
||||
elif [[ ${{ github.ref }} == refs/tags/* ]]; then
|
||||
pnpm run deploy --project-name=$project_name
|
||||
echo "Deploying prodcution for ${{ github.ref_name }}"
|
||||
fi
|
||||
|
||||
2
.github/workflows/frontend_deploy.yaml
vendored
2
.github/workflows/frontend_deploy.yaml
vendored
@@ -46,7 +46,7 @@ jobs:
|
||||
if [[ ${{ github.event.inputs.production }} == true ]]; then
|
||||
pnpm run deploy --project-name=$project_name
|
||||
echo "Deploying prodcution for ${{ github.ref_name }}"
|
||||
elif [[ ${{github.ref}} == refs/tags/* ]]; then
|
||||
elif [[ ${{ github.ref }} == refs/tags/* ]]; then
|
||||
pnpm run deploy --project-name=$project_name
|
||||
echo "Deploying prodcution for ${{ github.ref_name }}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user