diff --git a/.github/workflows/cd-action.yml b/.github/workflows/cd-action.yml index caaa33e..164de66 100644 --- a/.github/workflows/cd-action.yml +++ b/.github/workflows/cd-action.yml @@ -21,8 +21,13 @@ jobs: - name: executing deploy via ssh uses: appleboy/ssh-action@v1.0.3 + 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