We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f118d3d commit bc31a01Copy full SHA for bc31a01
.github/workflows/test.yaml
@@ -1,4 +1,4 @@
1
-name: Test
+name: Deploy
2
on: [pull_request]
3
env:
4
PANTS_CONFIG_FILES: +['pants.ci.toml']
@@ -21,9 +21,9 @@ jobs:
21
run: |
22
pants tailor --check update-build-files --check ::
23
24
- - name: Lint and typecheck
+ - name: Lint
25
26
- pants lint check ::
+ pants lint ::
27
28
- name: Test
29
@@ -38,4 +38,17 @@ jobs:
38
uses: actions/upload-artifact@v3
39
with:
40
name: pants-log
41
- path: .pants.d/pants.log
+ 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