Skip to content

Commit

Permalink
manually deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur1 committed May 18, 2024
1 parent 5e8e8c5 commit 2192e25
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/on-dispatch-deploy-agricoladb-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy agricoladb-server manually

on:
workflow_dispatch:

jobs:
deploy-server:
uses: ./.github/workflows/wf-deploy-lambda.yml
with:
working-directory: ./components/agricoladb-server/lambroll
environment-name: agricoladb-server-production
environment-url: https://api.db.agricolajp.dev/
archive-file-repository: AgricolaDevJP/agricoladb-server
archive-file-name: agricoladb-server-lambda_arm64.zip
secrets: inherit
deploy-frontend:
needs: [deploy-server]
uses: ./.github/workflows/wf-deploy-cloudflare-pages.yml
with:
working-directory: ./components/agricoladb-viewer/cloudflare-pages
environment-name: agricoladb-viewer-production
environment-url: https://db.agricolajp.dev/
source-repository: AgricolaDevJP/agricoladb-viewer
build-cmd: build --site https://db.agricolajp.dev
cloudflare-project-name: agricoladb-viewer
server-image: ghcr.io/agricoladevjp/agricoladb-server/server
server-version-file: ./components/agricoladb-server/lambroll/version.txt
secrets: inherit
18 changes: 18 additions & 0 deletions .github/workflows/on-dispatch-deploy-agricoladb-viewer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Deploy agricoladb-viewer manually

on:
workflow_dispatch:

jobs:
deploy:
uses: ./.github/workflows/wf-deploy-cloudflare-pages.yml
with:
working-directory: ./components/agricoladb-viewer/cloudflare-pages
environment-name: agricoladb-viewer-production
environment-url: https://db.agricolajp.dev/
source-repository: AgricolaDevJP/agricoladb-viewer
build-cmd: build --site https://db.agricolajp.dev
cloudflare-project-name: agricoladb-viewer
server-image: ghcr.io/agricoladevjp/agricoladb-server/server
server-version-file: ./components/agricoladb-server/lambroll/version.txt
secrets: inherit

0 comments on commit 2192e25

Please sign in to comment.