diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b50893a..4dbc1fa 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,15 +21,8 @@ jobs: host: ${{ secrets.REMOTE_HOST }} username: ${{ secrets.REMOTE_USER }} password: ${{ secrets.REMOTE_PASSWORD }} - port: ${{ secrets.PORT }} + port: ${{ secrets.REMOTE_PORT }} source: "dist/*" target: ${{secrets.REMOTE_TARGET}} - - name: executing remote ssh commands using password - uses: appleboy/ssh-action@master - with: - host: ${{ secrets.REMOTE_HOST }} - username: ${{ secrets.REMOTE_USER }} - password: ${{ secrets.REMOTE_PASSWORD }} - port: ${{ secrets.PORT }} - script: whoami + diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4f2b170..89cc0a2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,5 +12,5 @@ jobs: host: ${{ secrets.REMOTE_HOST }} username: ${{ secrets.REMOTE_USER }} password: ${{ secrets.REMOTE_PASSWORD }} - port: ${{ secrets.PORT }} + port: ${{ secrets.REMOTE_PORT }} script: whoami