fixed workflow

This commit is contained in:
Yannic Kilcher
2023-01-15 23:48:54 +01:00
parent fb1ff33057
commit dbdb3a0823
2 changed files with 3 additions and 12 deletions
+3 -10
View File
@@ -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}}"
-2
View File
@@ -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 }}