diff --git a/.github/workflows/client-cd.yml b/.github/workflows/client-cd.yml index 6adc807..7c431af 100644 --- a/.github/workflows/client-cd.yml +++ b/.github/workflows/client-cd.yml @@ -45,7 +45,7 @@ jobs: publish: needs: build - if: github.ref == 'refs/heads/main' +# if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - name: checkout current repository @@ -73,6 +73,7 @@ jobs: username: ${{ secrets.SSH_USER }} key: ${{ secrets.SSH_KEY }} port: ${{ secrets.SSH_PORT }} + protocol: tcp6 source: "client/build/**" target: "/var/www/stonks" strip_components: 2 diff --git a/.github/workflows/server-cd.yml b/.github/workflows/server-cd.yml index 14b5b81..f2df00b 100644 --- a/.github/workflows/server-cd.yml +++ b/.github/workflows/server-cd.yml @@ -35,7 +35,7 @@ jobs: build-root-directory: server - name: create server artifact from jar - if: github.ref == 'refs/heads/main' +# if: github.ref == 'refs/heads/main' uses: actions/upload-artifact@v4 with: name: server @@ -43,7 +43,7 @@ jobs: publish: needs: build - if: github.ref == 'refs/heads/main' +# if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - name: checkout current repository @@ -91,6 +91,7 @@ jobs: username: ${{ secrets.SSH_USER }} key: ${{ secrets.SSH_KEY }} port: ${{ secrets.SSH_PORT }} + protocol: tcp6 script: | docker compose pull docker compose up -d