diff --git a/.github/workflows/deploy-to-node.yaml b/.github/workflows/deploy-to-node.yaml index 63b6f78f..70c4b2ea 100644 --- a/.github/workflows/deploy-to-node.yaml +++ b/.github/workflows/deploy-to-node.yaml @@ -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}}" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 06d4a755..000e932d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 }}