Skip to content

Commit

Permalink
test github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pogseal committed Dec 23, 2023
1 parent 495e2d0 commit 528088d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/fly-home.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,21 @@ concurrency:
cancel-in-progress: true

jobs:
swap:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Find and Replace
uses: jacobtomlinson/gha-find-replace@v2
with:
find: 'PAYLOADCMS_SECRET = ""'
replace: ${{ format('PAYLOADCMS_SECRET = {0}', secrets.PAYLOADCMS_SECRET) }}
regex: false
include: "fly.home.toml"

deploy:
name: Deploy home app
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions fly.home.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ kill_timeout = "5s"

[env]
PORT = "8080"
PAYLOADCMS_SECRET = ""

[http_service]
internal_port = 8080
Expand Down

0 comments on commit 528088d

Please sign in to comment.