Skip to content

Commit

Permalink
ci: fix secret names for deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbrusegard committed Sep 23, 2024
1 parent 6f79896 commit 2cfdcd8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ on:
required: true

jobs:
deploy:
script:
name: Script
runs-on: ubuntu-latest
environment: ${{ inputs.environment }}
steps:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
environment: Production
branch: main
secrets:
host: ${{ secrets.ssh_host }}
port: ${{ secrets.ssh_port }}
key: ${{ secrets.ssh_key }}
username: ${{ secrets.username }}
host: ${{ secrets.HOST }}
port: ${{ secrets.PORT }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}

deploy-dev:
name: Development
Expand All @@ -35,7 +35,7 @@ jobs:
environment: Development
branch: dev
secrets:
host: ${{ secrets.ssh_host }}
port: ${{ secrets.ssh_port }}
key: ${{ secrets.ssh_key }}
username: ${{ secrets.username }}
host: ${{ secrets.HOST }}
port: ${{ secrets.PORT }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}

0 comments on commit 2cfdcd8

Please sign in to comment.