FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
opencode/.github/workflows/deploy.yml at dev · codedeep/opencode · GitHub
codedeep
/
opencode
Public
forked from
anomalyco/opencode
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
opencode
/
.github
/
workflows
/
deploy.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
38 lines (31 loc) · 1.33 KB
Breadcrumbs
opencode
/
.github
/
workflows
/
deploy.yml
Copy path
File metadata and controls
38 lines (31 loc) · 1.33 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
name
:
deploy
on
:
push
:
branches
:
-
dev
-
production
workflow_dispatch
:
concurrency
:
${{ github.workflow }}-${{ github.ref }}
jobs
:
deploy
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v3
-
uses
:
./.github/actions/setup-bun
-
uses
:
actions/setup-node@v4
with
:
node-version
:
"
24
"
#
Workaround for Pulumi version conflict:
#
GitHub runners have Pulumi 3.212.0+ pre-installed, which removed the -root flag
#
from pulumi-language-nodejs (see https://github.com/pulumi/pulumi/pull/21065).
#
SST 3.17.x uses Pulumi SDK 3.210.0 which still passes -root, causing a conflict.
#
Removing the system language plugin forces SST to use its bundled compatible version.
#
TODO: Remove when sst supports Pulumi >3.210.0
-
name
:
Fix Pulumi version conflict
run
:
sudo rm -f /usr/local/bin/pulumi-language-nodejs
-
run
:
bun sst deploy --stage=${{ github.ref_name }}
env
:
CLOUDFLARE_API_TOKEN
:
${{ secrets.CLOUDFLARE_API_TOKEN }}
PLANETSCALE_SERVICE_TOKEN_NAME
:
${{ secrets.PLANETSCALE_SERVICE_TOKEN_NAME }}
PLANETSCALE_SERVICE_TOKEN
:
${{ secrets.PLANETSCALE_SERVICE_TOKEN }}
STRIPE_SECRET_KEY
:
${{ github.ref_name == 'production' && secrets.STRIPE_SECRET_KEY_PROD || secrets.STRIPE_SECRET_KEY_DEV }}
Back
|
FazBrowse Home
|
New Git URL