Skip to content

Commit 49a85de

Browse files
committed
Fix pathing.
1 parent 6debec6 commit 49a85de

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ jobs:
6767
# This ensures the web.env has been setup ready for deployments
6868
- name: Check if first run and execute kamal app boot if necessary
6969
run: |
70-
FIRST_RUN_FILE="/opt/docker/${{ env.repository_name }}/.first_run"
70+
FIRST_RUN_FILE=".${{ env.repository_name }}"
7171
if ! kamal server exec --no-interactive -q "test -f $FIRST_RUN_FILE"; then
72-
kamal server exec --no-interactive -q "touch $FIRST_RUN_FILE"
72+
kamal server exec --no-interactive -q "touch $FIRST_RUN_FILE" || true
7373
kamal app -q deploy > /dev/null 2>&1 || true
7474
else
7575
echo "Not first run, skipping kamal app boot"

0 commit comments

Comments
 (0)