Skip to content

Commit

Permalink
fix variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeragamba committed May 26, 2024
1 parent a4c872e commit e1b49da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
steps:
- name: Run remote script
uses: appleboy/[email protected]
env:
DEPLOY_SHA: ${{ github.sha }}
with:
host: zeragamba.art
port: 22
Expand All @@ -20,5 +22,5 @@ jobs:
script: |
cd /opt/apps/zeragamba.art
git fetch
git checkout $GITHUB_SHA
git checkout $DEPLOY_SHA
./deploy.sh
4 changes: 3 additions & 1 deletion .github/workflows/deploy-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
steps:
- name: Run remote script
uses: appleboy/[email protected]
env:
DEPLOY_SHA: ${{ github.sha }}
with:
host: zeragamba.art
port: 22
Expand All @@ -20,5 +22,5 @@ jobs:
script: |
cd /opt/apps/staging.zeragamba.art
git fetch
git checkout $GITHUB_SHA
git checkout $DEPLOY_SHA
./deploy.sh

0 comments on commit e1b49da

Please sign in to comment.