Update php.yml
This commit is contained in:
parent
bb5034fa11
commit
83c87df917
|
@ -186,7 +186,7 @@ jobs:
|
|||
run: |
|
||||
ls
|
||||
sudo wget -O deployment.phar https://github.com/dg/ftp-deployment/releases/download/v3.4.0/deployment.phar
|
||||
echo '<?php $remotes = [ 'staging' => [ 'remote' => '${{ secrets.DEPLOY_URL }}', 'sentry_env' => 'staging' ] ]; ?>' > deployment_remotes.php
|
||||
echo '<?php $remotes = [ "staging" => [ "remote" => "${{ secrets.DEPLOY_URL }}", "sentry_env" => "staging" ] ]; ?>' > deployment_remotes.php
|
||||
cat deployment_remotes.php
|
||||
ls
|
||||
php deployment.phar deployment.php --section staging
|
||||
|
@ -195,9 +195,15 @@ jobs:
|
|||
- uses: actions/upload-artifact@v2
|
||||
if: ${{ always() }}
|
||||
with:
|
||||
name: php_log_${{ github.run_id }}
|
||||
name: deploy_php_log_${{ github.run_id }}
|
||||
path: /tmp/php.log
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: ${{ always() }}
|
||||
with:
|
||||
name: deploy_log_${{ github.run_id }}
|
||||
path: deployment.log
|
||||
|
||||
production_deployment:
|
||||
if: github.event.ref == 'refs/heads/production'
|
||||
# needs: tests
|
||||
|
|
Loading…
Reference in New Issue