From 9720b9328e7fda73022607ea6c523cf3c7aaec23 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Thu, 26 Jun 2025 11:55:16 +0200 Subject: [PATCH] fix: change to apt-get and change cache:flush to release from current, to work on first release --- .gitea/workflows/deploy.yaml | 12 ++++++------ .gitea/workflows/release.yaml | 4 ++-- build/deploy.php | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index fa5add0..96edb1e 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -68,8 +68,8 @@ jobs: rm typo3.tar.gz - name: Install ssh agent and rsync run: | - apt update - apt install -y openssh-client rsync + apt-get update + apt-get install -y openssh-client rsync - name: Upload release uses: deployphp/action@v1 with: @@ -93,8 +93,8 @@ jobs: rm typo3.tar.gz - name: Install ssh agent and rsync run: | - apt update - apt install -y openssh-client rsync + apt-get update + apt-get install -y openssh-client rsync - name: Switch to release uses: deployphp/action@v1 with: @@ -119,8 +119,8 @@ jobs: rm typo3.tar.gz - name: Install ssh agent and rsync run: | - apt update - apt install -y openssh-client rsync + apt-get update + apt-get install -y openssh-client rsync - name: Deploy uses: deployphp/action@v1 with: diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index e433f47..434daa6 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -26,8 +26,8 @@ jobs: composer validate --no-check-publish && composer install --prefer-dist --no-progress --ignore-platform-reqs - name: Install ssh agent, rsync run: | - apt update - apt install -y openssh-client rsync + apt-get update + apt-get install -y openssh-client rsync - name: Switch to release uses: deployphp/action@v1 with: diff --git a/build/deploy.php b/build/deploy.php index ed3cdfa..e7702b6 100644 --- a/build/deploy.php +++ b/build/deploy.php @@ -56,7 +56,7 @@ set('rsync', [ ]); task('typo3:cache:flush', function() { - cd('current'); + cd('{{release_path}}'); run('{{bin/php}} bin/typo3 cache:flush'); });