This commit is contained in:
parent
324f1b1e19
commit
4f857b74c4
1 changed files with 6 additions and 2 deletions
|
|
@ -194,13 +194,17 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: build-${{ github.sha }}
|
name: build-${{ github.sha }}
|
||||||
|
|
||||||
- run: tar xf build.tar.gz && rm build.tar.gz
|
- 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
|
||||||
|
|
||||||
- run: apt-get update && apt-get install -y openssh-client rsync
|
- run: apt-get update && apt-get install -y openssh-client rsync
|
||||||
|
|
||||||
- name: Deploy to production
|
- name: Deploy to production
|
||||||
uses: deployphp/action@v1
|
uses: deployphp/action@v1
|
||||||
with:
|
with:
|
||||||
deployer-binary: "./bin/dep"
|
deployer-binary: "/usr/local/bin/dep"
|
||||||
dep: --file=${{ inputs.deployer_file }} release:create production
|
dep: --file=${{ inputs.deployer_file }} release:create production
|
||||||
private-key: ${{ secrets.prod_key }}
|
private-key: ${{ secrets.prod_key }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue