mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-27 16:10:30 +08:00
fixed workflow
This commit is contained in:
@@ -19,18 +19,11 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
default: 3000
|
||||
postgres-password:
|
||||
required: false
|
||||
type: string
|
||||
default: postgres
|
||||
web-api-key:
|
||||
required: false
|
||||
type: string
|
||||
default: "1234"
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
environment: ${{ inputs.stack-name }}
|
||||
env:
|
||||
WEB_ADMIN_USERS: ${{ secrets.DEV_WEB_ADMIN_USERS }}
|
||||
WEB_DISCORD_CLIENT_ID: ${{ secrets.DEV_WEB_DISCORD_CLIENT_ID }}
|
||||
@@ -61,5 +54,5 @@ jobs:
|
||||
image_tag=${{inputs.image-tag}} \
|
||||
backend_port=${{inputs.backend-port}} \
|
||||
website_port=${{inputs.website-port}} \
|
||||
postgres_password=${{inputs.postgres-password}} \
|
||||
web_api_key=${{inputs.web-api-key}}"
|
||||
postgres_password=${{secrets.POSTGRES_PASSWORD}} \
|
||||
web_api_key=${{secrets.WEB_API_KEY}}"
|
||||
|
||||
@@ -46,5 +46,3 @@ jobs:
|
||||
'latest' }}
|
||||
backend-port: ${{ github.event_name == 'release' && '8180' || '8080' }}
|
||||
website-port: ${{ github.event_name == 'release' && '3100' || '3000' }}
|
||||
postgres-password: ${{ secrets.POSTGRES_PASSWORD }}
|
||||
web-api-key: ${{ secrets.WEB_API_KEY }}
|
||||
|
||||
Reference in New Issue
Block a user