-
Notifications
You must be signed in to change notification settings - Fork 15
/
Makefile
45 lines (35 loc) · 783 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
launch: fly.toml
@flyctl launch --copy-config --no-public-ips --yes
.PHONY: launch
deploy:
@flyctl deploy
.PHONY: deploy
ssh:
@flyctl ssh console
.PHONY: ssh
qr:
@# if your terminal background is dark:
@flyctl ssh console --command "qr.sh"
.PHONY: qr
qr-invert:
@# if your terminal background is light:
@flyctl ssh console --command "mollysocket qr airgapped"
.PHONY: qr-invert
restart:
@flyctl scale count 0 --process-group worker --yes
@flyctl scale count 1 --process-group worker --yes
.PHONY: restart
status:
@flyctl status
.PHONY: status
logs:
@flyctl logs --no-tail
.PHONY: logs
release:
@gh release create --generate-notes --draft
.PHONY: release
deploy-token:
@flyctl tokens create deploy
.PHONY: deploy-token
fly.toml:
@cp fly.template.toml fly.toml