diff --git a/.forgejo/workflows/typo3-deploy-stage.yaml b/.forgejo/workflows/typo3-deploy-stage.yaml index 3ed2a0a..bfa5ac1 100644 --- a/.forgejo/workflows/typo3-deploy-stage.yaml +++ b/.forgejo/workflows/typo3-deploy-stage.yaml @@ -87,16 +87,14 @@ jobs: - run: | tar xf build.tar.gz && rm build.tar.gz - curl -LO https://deployer.org/deployer.phar - mv deployer.phar /usr/local/bin/dep - chmod +x /usr/local/bin/dep + composer require deployer/deployer --dev - run: apt-get update && apt-get install -y openssh-client rsync - name: Upload release uses: deployphp/action@v1 with: - deployer-binary: "/usr/local/bin/dep" + deployer-binary: "./bin/dep" dep: --file=${{ inputs.deployer_file }} release:create stage private-key: ${{ secrets.stage_key }} @@ -119,7 +117,9 @@ jobs: with: name: build-${{ github.sha }} - - run: tar xf build.tar.gz && rm build.tar.gz + - run: | + tar xf build.tar.gz && rm build.tar.gz + composer require deployer/deployer --dev - run: apt-get update && apt-get install -y openssh-client rsync @@ -200,15 +200,13 @@ jobs: - run: | tar xf build.tar.gz && rm build.tar.gz - curl -LO https://deployer.org/deployer.phar - mv deployer.phar /usr/local/bin/dep - chmod +x /usr/local/bin/dep + composer require deployer/deployer --dev - run: apt-get update && apt-get install -y openssh-client rsync - name: Deploy to production uses: deployphp/action@v1 with: - deployer-binary: "/usr/local/bin/dep" + deployer-binary: "./bin/dep" dep: --file=${{ inputs.deployer_file }} release:create production private-key: ${{ secrets.prod_key }}