-
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (37 loc) · 942 Bytes
/
workers-stg.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Deploy to Cloudflare Workers - Staging
on:
workflow_dispatch:
inputs:
deploycommands:
description: "Deploy commands?"
required: false
type: boolean
default: "false"
skipdeploy:
description: "Skip deploy?"
required: false
type: boolean
default: "false"
push:
branches:
- main
paths:
- "apps/discord/**"
jobs:
deploy:
name: Deploy
uses: dougley/frugal/.github/workflows/discord-build.yml@main
secrets: inherit
with:
environment: staging
deploy_commands: ${{ github.event.inputs.deploycommands }}
skip_deploy: ${{ github.event.inputs.skipdeploy }}
sentry:
name: Create Sentry release
needs: deploy
uses: dougley/frugal/.github/workflows/sentry.yml@main
if: github.event.inputs.skipdeploy != 'true'
secrets: inherit
with:
environment: staging
project: workers