Skip to content

Commit

Permalink
fixed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yk committed Jan 15, 2023
1 parent fb1ff33 commit dbdb3a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/deploy-to-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 changes: 0 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit dbdb3a0

Please sign in to comment.