mirror of
https://github.com/cf-sonr/motr.git
synced 2026-01-12 02:59:13 +00:00
feat: streamline deployment process with Go setup
This commit is contained in:
10
.github/workflows/deploy.yml
vendored
10
.github/workflows/deploy.yml
vendored
@@ -13,6 +13,11 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: stable
|
||||
|
||||
- name: Install devbox
|
||||
uses: jetify-com/devbox-install-action@v0.13.0
|
||||
with:
|
||||
@@ -34,6 +39,11 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: stable
|
||||
|
||||
- name: Install devbox
|
||||
uses: jetify-com/devbox-install-action@v0.13.0
|
||||
with:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.14.1/.schema/devbox.schema.json",
|
||||
"packages": [
|
||||
"go@latest",
|
||||
"templ@latest",
|
||||
"sqlc@latest",
|
||||
"nodejs@latest",
|
||||
@@ -22,10 +21,6 @@
|
||||
"go install github.com/syumai/workers/cmd/workers-assets-gen@latest"
|
||||
],
|
||||
"scripts": {
|
||||
"deploy": [
|
||||
"cd $RADAR_ROOT && npx wrangler deploy",
|
||||
"cd $WORKER_ROOT && npx wrangler deploy"
|
||||
],
|
||||
"release": [
|
||||
"check_deps",
|
||||
"check_vars",
|
||||
|
||||
Reference in New Issue
Block a user