Skip to content

Commit dbdb3a0

Browse files
committed
fixed workflow
1 parent fb1ff33 commit dbdb3a0

2 files changed

Lines changed: 3 additions & 12 deletions

File tree

.github/workflows/deploy-to-node.yaml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,11 @@ on:
1919
required: false
2020
type: string
2121
default: 3000
22-
postgres-password:
23-
required: false
24-
type: string
25-
default: postgres
26-
web-api-key:
27-
required: false
28-
type: string
29-
default: "1234"
3022

3123
jobs:
3224
deploy:
3325
runs-on: ubuntu-latest
26+
environment: ${{ inputs.stack-name }}
3427
env:
3528
WEB_ADMIN_USERS: ${{ secrets.DEV_WEB_ADMIN_USERS }}
3629
WEB_DISCORD_CLIENT_ID: ${{ secrets.DEV_WEB_DISCORD_CLIENT_ID }}
@@ -61,5 +54,5 @@ jobs:
6154
image_tag=${{inputs.image-tag}} \
6255
backend_port=${{inputs.backend-port}} \
6356
website_port=${{inputs.website-port}} \
64-
postgres_password=${{inputs.postgres-password}} \
65-
web_api_key=${{inputs.web-api-key}}"
57+
postgres_password=${{secrets.POSTGRES_PASSWORD}} \
58+
web_api_key=${{secrets.WEB_API_KEY}}"

.github/workflows/release.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,3 @@ jobs:
4646
'latest' }}
4747
backend-port: ${{ github.event_name == 'release' && '8180' || '8080' }}
4848
website-port: ${{ github.event_name == 'release' && '3100' || '3000' }}
49-
postgres-password: ${{ secrets.POSTGRES_PASSWORD }}
50-
web-api-key: ${{ secrets.WEB_API_KEY }}

0 commit comments

Comments
 (0)