Skip to content

Commit

Permalink
fixing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AmebaBrain committed Jun 9, 2024
1 parent bf52f73 commit d39152d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
- name: Print environment
run: |
echo Artifact: ${{ inputs.ARTIFACT }}
echo Base path (env): ${{ env.BASE_PATH }}
echo Base path (secrets): ${{ secrets.BASE_PATH }}
echo Base path (vars): ${{ vars.BASE_PATH }}
echo "Base path (env): ${{ env.BASE_PATH }}"
echo "Base path (secrets): ${{ secrets.BASE_PATH }}"
echo "Base path (vars): ${{ vars.BASE_PATH }}"
- name: Download an artifact
uses: actions/download-artifact@v4
Expand All @@ -54,13 +54,13 @@ jobs:
key: ${{ secrets.REMOTE_SSH_KEY }}
port: ${{ inputs.REMOTE_PORT }}
source: ${{ inputs.ARTIFACT }}
target: ${{ env.BASE_PATH }}
target: ${{ vars.BASE_PATH }}

- name: Deploy remote server
uses: appleboy/ssh-action@v1.0.3
env:
DIST_TAR: ${{ inputs.ARTIFACT }}
BASE_PATH: ${{ env.BASE_PATH }}
BASE_PATH: ${{ vars.BASE_PATH }}
with:
host: ${{ inputs.REMOTE_HOST }}
username: ${{ inputs.REMOTE_USER }}
Expand Down

0 comments on commit d39152d

Please sign in to comment.