From 765d96d754ab3895e42faf66eb762e07726efdaa Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Mon, 21 Apr 2025 18:31:20 +0200 Subject: [PATCH] feat: remove production deployment and change server --- .gitea/workflows/deploy.yaml | 50 ++++++++++++++++++------------------ build/servers.yaml | 4 +-- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index fa5add0..9366139 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -102,28 +102,28 @@ jobs: dep: --file=./build/deploy.php release:switch stage private-key: ${{secrets.STAGE_KEY}} - deploy-production: - needs: build - runs-on: ubuntu-latest - steps: - - name: Setup PHP - uses: shivammathur/setup-php@7c0b4c8c8ebed23eca9ec2802474895d105b11bc - with: - php-version: ${{ env.PHP_VERSION }} - - uses: actions/download-artifact@v3 - with: - name: typo3 - - name: Extract artifact - run: | - tar xf typo3.tar.gz - rm typo3.tar.gz - - name: Install ssh agent and rsync - run: | - apt update - apt install -y openssh-client rsync - - name: Deploy - uses: deployphp/action@v1 - with: - deployer-binary: "./bin/dep" - dep: --file=./build/deploy.php release:create production - private-key: ${{secrets.PROD_KEY}} + # deploy-production: + # needs: build + # runs-on: ubuntu-latest + # steps: + # - name: Setup PHP + # uses: shivammathur/setup-php@7c0b4c8c8ebed23eca9ec2802474895d105b11bc + # with: + # php-version: ${{ env.PHP_VERSION }} + # - uses: actions/download-artifact@v3 + # with: + # name: typo3 + # - name: Extract artifact + # run: | + # tar xf typo3.tar.gz + # rm typo3.tar.gz + # - name: Install ssh agent and rsync + # run: | + # apt update + # apt install -y openssh-client rsync + # - name: Deploy + # uses: deployphp/action@v1 + # with: + # deployer-binary: "./bin/dep" + # dep: --file=./build/deploy.php release:create production + # private-key: ${{secrets.PROD_KEY}} diff --git a/build/servers.yaml b/build/servers.yaml index 86c34cf..a469b79 100644 --- a/build/servers.yaml +++ b/build/servers.yaml @@ -2,7 +2,7 @@ hosts: production: stage: production hostname: web-arm.cloonar.com - remote_user: lena_schilling_at + remote_user: dialog_relations_at writable_mode: chmod forward_agent: true deploy_path: ~/ @@ -10,7 +10,7 @@ hosts: stage: stage: staging hostname: web-arm.cloonar.com - remote_user: lena_schilling_cloonar_dev + remote_user: dialog_relations_cloonar_dev writable_mode: chmod forward_agent: true deploy_path: ~/