fix: deployer installation
All checks were successful
Self Test / test (push) Successful in 13s

This commit is contained in:
Dominik Polakovics Polakovics 2026-02-03 10:28:18 +01:00
parent a2a29d6faf
commit 50a1582b33

View file

@ -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 }}