Skip to content

Commit a3d0f5b

Browse files
committed
Add flyctl target for makefile
1 parent e97ab62 commit a3d0f5b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,6 @@ ansible-inventory-hosts:
108108

109109
ansible-deploy:
110110
cd ansible && ansible-playbook services.yml --extra-vars services=$(SERVICES)
111+
112+
flyctl-deploy:
113+
flyctl deploy -c fly/$(SERVICE)/fly.toml

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,10 @@ make ansible-inventory-hosts
2525
```
2626
make SERVICES=tailscale ansible-deploy
2727
```
28+
29+
# fly tasks
30+
31+
```
32+
make SERVICE=tailscale flyctl-deploy
33+
```
34+

0 commit comments

Comments
 (0)