Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
just-pthai-it authored Jun 17, 2024
1 parent ea3678f commit 1d898c3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/.github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,13 @@ jobs:
- run: echo "🍏 This job's status is ${{ job.status }}."
- run: echo "$SSH_PRIVATE_KEY_LOCALCOMPUTER"
- run: echo "$DAY_OF_WEEK"
- run: ssh-agent -s
- run: eval $(ssh-agent -s)
- run: ssh-add <(echo "$SSH_PRIVATE_KEY_LOCALCOMPUTER")
# - run: ssh-agent -s
# - run: eval $(ssh-agent -s)
# - run: ssh-add <(echo "$SSH_PRIVATE_KEY_LOCALCOMPUTER")
- name: Set up SSH agent
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY_LOCALCOMPUTER }}
- run: ssh-keyscan -H $MY_VPS_IP_ADDRESS >> ~/.ssh/known_hosts
- run: ssh $MY_VPS_USER@$MY_VPS_IP_ADDRESS
- run: cd $MY_VPS_PROJECT_PATH
Expand Down

0 comments on commit 1d898c3

Please sign in to comment.