From d72dd69c2b4fd865b0e06fdb3f196d20665554db Mon Sep 17 00:00:00 2001 From: Sten Laane <21343173+StenAL@users.noreply.github.com> Date: Mon, 1 Jul 2024 14:25:54 +0300 Subject: [PATCH] CI test --- .github/workflows/client-cd.yml | 3 ++- .github/workflows/server-cd.yml | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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