Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/porter_preview_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/checkout@v2.3.4
- name: Create Porter preview env
timeout-minutes: 30
uses: porter-dev/porter-preview-action@v0.2.1
uses: porter-dev/porter-preview-action@dev
with:
action_id: ${{ github.run_id }}
cluster: "1"
Expand Down
15 changes: 13 additions & 2 deletions porter.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
version: v1
resources:
# - name: postgres
# source:
# name: postgresql
# config:
# postgresqlPassword: testing
- name: web
# depends_on:
# - postgres
source:
name: web
config:
Expand All @@ -11,5 +18,9 @@ resources:
ingress:
enabled: false
container:
command: node index.js
port: 3000
command: web
port: 8000
env:
normal:
POSTGRES_USERNAME: "{ .postgres.postgresqlUsername }"
POSTGRES_PASSWORD: "{ .postgres.postgresqlPassword }"
1 change: 0 additions & 1 deletion test

This file was deleted.