feat: add CI CD (#137)

This commit is contained in:
Dream Hunter
2024-04-16 13:53:37 +08:00
committed by GitHub
parent b619b11a92
commit dcfe17dac2
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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