Skip to content

Commit bc31a01

Browse files
committed
WIP
1 parent f118d3d commit bc31a01

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.github/workflows/test.yaml

+17-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test
1+
name: Deploy
22
on: [pull_request]
33
env:
44
PANTS_CONFIG_FILES: +['pants.ci.toml']
@@ -21,9 +21,9 @@ jobs:
2121
run: |
2222
pants tailor --check update-build-files --check ::
2323
24-
- name: Lint and typecheck
24+
- name: Lint
2525
run: |
26-
pants lint check ::
26+
pants lint ::
2727
2828
- name: Test
2929
run: |
@@ -38,4 +38,17 @@ jobs:
3838
uses: actions/upload-artifact@v3
3939
with:
4040
name: pants-log
41-
path: .pants.d/pants.log
41+
path: .pants.d/pants.log
42+
43+
deploy:
44+
runs-on: ubuntu-latest
45+
environment: leaderboard.fly.dev
46+
needs: test
47+
steps:
48+
- uses: superfly/flyctl-actions/setup-flyctl@master
49+
- run: docker images
50+
# - run: flyctl deploy --remote-only
51+
# env:
52+
# FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
53+
54+

0 commit comments

Comments
 (0)