Skip to content

Commit

Permalink
fix: only use tasks fly.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxSchaefer committed Jan 8, 2025
1 parent d7293c2 commit 87bcdb9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,16 @@ jobs:
# as a base configuration for the new app
- name: Prepare fly.toml for `fly launch --copy-config`
run: |
cp ${{ matrix.project }}/fly.toml .
# cp ${{ matrix.project }}/fly.toml .
cp tasks/fly.toml .
sed -i "s/\.\.\/Dockerfile/Dockerfile/g" fly.toml

- name: Deploy preview to Fly
id: deploy
uses: superfly/[email protected]
with:
name: pr-${{ github.event.number }}-${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ matrix.project }}
config: ${{ matrix.project }}/fly.toml
config: fly.toml

- name: Comment preview url to pull-request
uses: thollander/actions-comment-pull-request@v2
Expand Down
2 changes: 2 additions & 0 deletions lib/util/array.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// test

export const equalSizeGroups = <T, >(array: T[], groupSize: number): T[][] => {
if (groupSize <= 0) {
console.warn(`group size should be greater than 0: groupSize = ${groupSize}`)
Expand Down

0 comments on commit 87bcdb9

Please sign in to comment.