Skip to content
Open
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
13 changes: 8 additions & 5 deletions .platform.app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type: 'nodejs:14'

dependencies:
nodejs:
yarn: "^1.22.0"
yarn: '^1.22.0'

build:
flavor: none
Expand All @@ -30,6 +30,9 @@ hooks:
deploy: |
# Move committed files from temp directory back into mounts.
./handle_mounts.sh
# On consecutive builds the server was already started before the new files were copied,
# so kill the process so that it automatically restarts with the new files
kill -9 $(lsof -t -i:$PORT)

# The configuration of the application when it is exposed to the web.
web:
Expand All @@ -47,7 +50,7 @@ mounts:
source_path: 'next'

source:
operations:
auto-update:
command: |
curl -fsS https://raw.githubusercontent.com/platformsh/source-operations/main/setup.sh | { bash /dev/fd/3 sop-autoupdate; } 3<&0
operations:
auto-update:
command: |
curl -fsS https://raw.githubusercontent.com/platformsh/source-operations/main/setup.sh | { bash /dev/fd/3 sop-autoupdate; } 3<&0