Skip to content

Commit

Permalink
Use env in kamal server config
Browse files Browse the repository at this point in the history
  • Loading branch information
furkantektas committed Nov 17, 2024
1 parent 9321cee commit fca3b76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
branches:
- main

env:
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}

jobs:
deploy:
runs-on: ubuntu-24.04
Expand Down
2 changes: 1 addition & 1 deletion config/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ image: lrajhhbgjtvv/emushafnet

servers:
web:
- emushaf.net
- <%= ENV['DEPLOY_HOST'] %>
proxy:
hosts:
- emushaf.net
Expand Down

0 comments on commit fca3b76

Please sign in to comment.