This commit is contained in:
parent
4f857b74c4
commit
a2a29d6faf
1 changed files with 6 additions and 2 deletions
|
|
@ -85,14 +85,18 @@ 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: Upload release
|
- name: Upload release
|
||||||
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 stage
|
dep: --file=${{ inputs.deployer_file }} release:create stage
|
||||||
private-key: ${{ secrets.stage_key }}
|
private-key: ${{ secrets.stage_key }}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue