Skip to content

Commit 74f858c

Browse files
committed
Update CI workflow with Fly app build and concurrency
Adds Fly app build steps to the CI workflow and configures concurrency to cancel in-progress runs for the same workflow and ref. Also ignores markdown file changes in pull request triggers.
1 parent 596fee0 commit 74f858c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@ on:
44
pull_request:
55
branches:
66
- main
7+
paths-ignore:
8+
- '*.md'
79

810
jobs:
911
build:
1012
name: Build
1113
runs-on: ubuntu-latest
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
1217
steps:
1318
- uses: actions/checkout@v4
1419

@@ -29,3 +34,11 @@ jobs:
2934

3035
- name: Build
3136
run: pnpm build
37+
38+
- name: Setup flyctl
39+
uses: superfly/flyctl-actions/setup-flyctl@master
40+
41+
- name: Build Fly app
42+
run: flyctl deploy --build-only
43+
env:
44+
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

0 commit comments

Comments
 (0)