Skip to content

Commit 238584e

Browse files
committed
do license check in pipeline
1 parent 8b7e54c commit 238584e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ name: deploy
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
stage:
7+
description: "stage to deploy"
8+
required: true
9+
default: "dev"
10+
type: string
511

612
concurrency: ${{ github.workflow }}-${{ github.ref }}
713

@@ -20,6 +26,6 @@ jobs:
2026
- name: Install dependencies
2127
run: bun install
2228

23-
- run: bun sst deploy --stage=dev
29+
- run: bun sst deploy --stage=${{ inputs.stage }}
2430
env:
2531
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}

.github/workflows/license-check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: license-check
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches:
67
- dev

0 commit comments

Comments
 (0)