From 2cfdcd854369689611d7b96d8b64a6dddab50a2f Mon Sep 17 00:00:00 2001 From: Michael Brusegard <56915010+michaelbrusegard@users.noreply.github.com> Date: Mon, 23 Sep 2024 18:55:37 +0200 Subject: [PATCH] ci: fix secret names for deploy script --- .github/workflows/deploy-script.yml | 3 ++- .github/workflows/deploy.yml | 16 ++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy-script.yml b/.github/workflows/deploy-script.yml index 655ec36..8fadd63 100644 --- a/.github/workflows/deploy-script.yml +++ b/.github/workflows/deploy-script.yml @@ -20,7 +20,8 @@ on: required: true jobs: - deploy: + script: + name: Script runs-on: ubuntu-latest environment: ${{ inputs.environment }} steps: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d050155..ce88086 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 @@ -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 }}