File tree 4 files changed +35
-1
lines changed
4 files changed +35
-1
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ workflow_dispatch :
3
+ push :
4
+ branches :
5
+ - master
6
+
7
+ jobs :
8
+ deploy :
9
+ name : Deploy app
10
+ runs-on : ubuntu-latest
11
+ concurrency : deploy-group
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+ - uses : superfly/flyctl-actions/setup-flyctl@master
15
+ - run : flyctl deploy --remote-only
16
+ env :
17
+ FLY_API_TOKEN : ${{ secrets.FLY_API_TOKEN }}
Original file line number Diff line number Diff line change 14
14
phpactor
15
15
16
16
docker-compose
17
+ flyctl
17
18
] ;
18
19
} ;
19
20
}
Original file line number Diff line number Diff line change
1
+ app = " yata"
2
+ primary_region = " ams"
3
+
4
+ [http_service ]
5
+ auto_start_machines = true
6
+ auto_stop_machines = true
7
+ force_https = true
8
+ internal_port = 10_000
9
+ min_machines_running = 0
10
+ processes = [ " app" ]
11
+
12
+ [[vm ]]
13
+ cpu_kind = " shared"
14
+ cpus = 1
15
+ memory = " 1gb"
16
+ memory_mb = 512
Original file line number Diff line number Diff line change 17
17
</head>
18
18
<body>
19
19
<div class="flex items-center justify-center h-screen">
20
- <p>Hello, <?php echo $ agent?> !</p>
20
+ <p>Hello! Your user agent is " <?php echo $ agent?> " !</p>
21
21
</div>
22
22
</body>
23
23
</html>
You can’t perform that action at this time.
0 commit comments