Skip to content

Commit

Permalink
test APIの自動デプロイの復活:SSH接続の改良
Browse files Browse the repository at this point in the history
  • Loading branch information
H37kouya committed Dec 27, 2024
1 parent d7a787a commit 133c5bb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ jobs:
steps:
- uses: appleboy/[email protected]
- name: Deploy
env:
with:
host: ${{ secrets.XSERVER_HOST_NAME }}
username: ${{ secrets.XSERVER_USER_NAME }}
key: ${{ secrets.XSERVER_SSH_KEY }}
port: 10022
run: |
whoami
pwd
ls -la
script: |
whoami
pwd
ls -la
deploy:
if: github.ref == 'refs/heads/develop/production'
Expand Down

0 comments on commit 133c5bb

Please sign in to comment.