diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 9366139..458608f 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -10,7 +10,7 @@ on: workflow_dispatch: env: - PHP_VERSION: '8.3' # set this to the PHP version to use + PHP_VERSION: '8.4' # set this to the PHP version to use COMPOSER_ALLOW_SUPERUSER: 1 permissions: @@ -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/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index e433f47..b61e0bf 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -6,7 +6,7 @@ on: - 'v*.*' # Adjust this pattern based on your tagging env: - PHP_VERSION: '8.3' # set this to the PHP version to use + PHP_VERSION: '8.4' # set this to the PHP version to use COMPOSER_ALLOW_SUPERUSER: 1 permissions: