mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-05 23:47:50 +08:00
feat: add CI CD (#137)
This commit is contained in:
@@ -46,7 +46,7 @@ jobs:
|
|||||||
if [[ ${{ github.event.inputs.production }} == true ]]; then
|
if [[ ${{ github.event.inputs.production }} == true ]]; then
|
||||||
pnpm run deploy --project-name=$project_name
|
pnpm run deploy --project-name=$project_name
|
||||||
echo "Deploying prodcution for ${{ github.ref_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
|
pnpm run deploy --project-name=$project_name
|
||||||
echo "Deploying prodcution for ${{ github.ref_name }}"
|
echo "Deploying prodcution for ${{ github.ref_name }}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
if [[ ${{ github.event.inputs.production }} == true ]]; then
|
if [[ ${{ github.event.inputs.production }} == true ]]; then
|
||||||
pnpm run deploy --project-name=$project_name
|
pnpm run deploy --project-name=$project_name
|
||||||
echo "Deploying prodcution for ${{ github.ref_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
|
pnpm run deploy --project-name=$project_name
|
||||||
echo "Deploying prodcution for ${{ github.ref_name }}"
|
echo "Deploying prodcution for ${{ github.ref_name }}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user