Create php.yml
This commit is contained in:
parent
df0ed808e6
commit
9a1161ab58
|
@ -186,10 +186,16 @@ jobs:
|
||||||
|
|
||||||
- name: Setup deployer
|
- name: Setup deployer
|
||||||
run: |
|
run: |
|
||||||
|
ls
|
||||||
sudo wget -O deployment.phar https://github.com/dg/ftp-deployment/releases/download/v3.4.0/deployment.phar
|
sudo wget -O deployment.phar https://github.com/dg/ftp-deployment/releases/download/v3.4.0/deployment.phar
|
||||||
echo "<?php $remotes = [ 'staging' => [ 'remote' => $DEPLOY_URL, 'sentry_env' => 'staging' ] ]; ?>" > deployment_remotes.php
|
echo "<?php $remotes = [ 'staging' => [ 'remote' => $DEPLOY_URL, 'sentry_env' => 'staging' ] ]; ?>" > deployment_remotes.php
|
||||||
cat deployment_remotes.php
|
cat deployment_remotes.php
|
||||||
php deployment.phar deployment.php --section staging
|
# php deployment.phar deployment.php --section staging
|
||||||
|
- name: Upload a Build Artifact
|
||||||
|
uses: actions/upload-artifact@v2.2.3
|
||||||
|
with:
|
||||||
|
name: Test deplyment file
|
||||||
|
path: deployment_remotes.php
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: echo I am deploying!
|
run: echo I am deploying!
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue