Skip to content

Commit dd0c787

Browse files
authored
workflows updated - fix in ci.yml and removed environment from pr-close (#11)
* removed on push on main branch from ci.yml and removed environment in pr-close * fly.toml updated
1 parent 38831bc commit dd0c787

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ concurrency:
33
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}
44
cancel-in-progress: true
55
on:
6-
push:
7-
branches: [main]
86
pull_request:
97
branches: [main]
108
permissions:

.github/workflows/pr-close.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ jobs:
1414
destroy-pr-preview:
1515
name: 🧹 Destroy PR Preview
1616
runs-on: ubuntu-latest
17-
environment:
18-
name: pr-preview
1917
steps:
2018
- uses: actions/checkout@v4
2119
- uses: forge-42/fly-destroy@v1.0.0-rc.2

fly.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ primary_region = 'fra'
1111
[http_service]
1212
internal_port = 3000
1313
force_https = true
14-
auto_stop_machines = 'stop'
14+
auto_stop_machines = 'suspend'
1515
auto_start_machines = true
1616
min_machines_running = 0
1717
processes = ['app']
1818

1919
[[vm]]
20-
memory = '512mb'
20+
memory = '256mb'
2121
cpu_kind = 'shared'
2222
cpus = 1

0 commit comments

Comments
 (0)