Skip to content
This repository was archived by the owner on Dec 6, 2025. It is now read-only.

Commit 02c53e7

Browse files
authored
fix: only use tasks fly.toml (#1161)
1 parent d7293c2 commit 02c53e7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/preview.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,18 @@ jobs:
6161
# --copy-config uses a fly.toml from the current working directory
6262
# as a base configuration for the new app
6363
- name: Prepare fly.toml for `fly launch --copy-config`
64+
# TODO: remove hardcoded "tasks/" project and replace it with "${{ matrix.project }}/".
65+
# If replaced, make sure that https://github.com/helpwave/web/actions/runs/12558728735/job/35013346659?pr=1154 is fixed
6466
run: |
65-
cp ${{ matrix.project }}/fly.toml .
67+
cp tasks/fly.toml .
6668
sed -i "s/\.\.\/Dockerfile/Dockerfile/g" fly.toml
6769
6870
- name: Deploy preview to Fly
6971
id: deploy
7072
uses: superfly/fly-pr-review-apps@1.3.0
7173
with:
7274
name: pr-${{ github.event.number }}-${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ matrix.project }}
73-
config: ${{ matrix.project }}/fly.toml
75+
config: fly.toml
7476

7577
- name: Comment preview url to pull-request
7678
uses: thollander/actions-comment-pull-request@v2

0 commit comments

Comments
 (0)