mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-08-02 12:20:35 +08:00
prepared playbook for prod
This commit is contained in:
@@ -35,9 +35,9 @@ jobs:
|
||||
context: .
|
||||
dockerfile: docker/Dockerfile.discord-bot
|
||||
build-args: ""
|
||||
deploy-dev:
|
||||
deploy-to-node:
|
||||
needs: [build-backend, build-web, build-bot]
|
||||
uses: ./.github/workflows/deploy-dev.yaml
|
||||
uses: ./.github/workflows/deploy-to-node.yaml
|
||||
secrets: inherit
|
||||
with:
|
||||
stack-name: ${{ github.event_name == 'release' && 'staging' || 'dev' }}
|
||||
@@ -46,3 +46,9 @@ jobs:
|
||||
'latest' }}
|
||||
backend-port: ${{ github.event_name == 'release' && '8180' || '8080' }}
|
||||
website-port: ${{ github.event_name == 'release' && '3100' || '3000' }}
|
||||
postgres-password:
|
||||
${{ github.event_name == 'release' && secrets.STAGING_POSTGRES_PASSWORD
|
||||
|| 'postgres' }}
|
||||
web-api-key:
|
||||
${{ github.event_name == 'release' && secrets.STAGING_WEB_API_KEY ||
|
||||
'1234' }}
|
||||
|
||||
Reference in New Issue
Block a user