Skip to content

Commit

Permalink
deploy in cd action
Browse files Browse the repository at this point in the history
  • Loading branch information
pafev committed Mar 30, 2024
1 parent 50257e4 commit bf81091
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/cd-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,13 @@ jobs:

- name: executing deploy via ssh
uses: appleboy/[email protected]
env:
PATH: ${{secrets.PATH}}
with:
host: ${{secrets.HOST}}
username: ${{secrets.USERNAME}}
password: ${{secrets.PASS}}
script: whoami
script: |
cd "$PATH"
git pull
docker compose up -d

0 comments on commit bf81091

Please sign in to comment.