Skip to content

Commit

Permalink
Merge pull request #11 from bas-kirill/bugfix/incorrect-dev-port
Browse files Browse the repository at this point in the history
chore(cd): show port that passing through to SSH connection
  • Loading branch information
bas-kirill authored Jul 22, 2024
2 parents 68cc2cc + 9fe42b5 commit ed5ef57
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ jobs:
uses: appleboy/[email protected]
env:
GIT_COMMIT_SHA: ${{ github.sha }}
DEV_PORT: $DEV_PORT
DEV_PORT: ${{ env.DEV_PORT }}
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
port: ${{ secrets.SERVER_PORT }}
envs: GIT_COMMIT_SHA
envs: GIT_COMMIT_SHA, DEV_PORT
script: |
export GIT_COMMIT_SHA=$GIT_COMMIT_SHA
export DEV_PORT=$DEV_PORT
Expand Down Expand Up @@ -172,13 +172,13 @@ jobs:
uses: appleboy/[email protected]
env:
GIT_COMMIT_SHA: ${{ github.sha }}
STAGING_PORT: $STAGING_PORT
STAGING_PORT: ${{ env.STAGING_PORT }}
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
port: ${{ secrets.SERVER_PORT }}
envs: GIT_COMMIT_SHA
envs: GIT_COMMIT_SHA, STAGING_PORT
script: |
export GIT_COMMIT_SHA=$GIT_COMMIT_SHA
export STAGING_PORT=$STAGING_PORT
Expand Down Expand Up @@ -232,13 +232,13 @@ jobs:
uses: appleboy/[email protected]
env:
GIT_COMMIT_SHA: ${{ github.sha }}
PROD_PORT: $PROD_PORT
PROD_PORT: ${{ env.PROD_PORT }}
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
port: ${{ secrets.SERVER_PORT }}
envs: GIT_COMMIT_SHA
envs: GIT_COMMIT_SHA, PROD_PORT
script: |
export GIT_COMMIT_SHA=$GIT_COMMIT_SHA
export PROD_PORT=$PROD_PORT
Expand Down

0 comments on commit ed5ef57

Please sign in to comment.