Update php.yml

This commit is contained in:
Matteo Gheza 2021-04-18 00:35:12 +02:00 committed by GitHub
parent 7c9ccaab9f
commit 1adabce7c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -189,6 +189,7 @@ jobs:
echo "<?php $remotes = [ 'staging' => [ 'remote' => '${{ secrets.DEPLOY_URL }}', 'sentry_env' => 'staging' ] ]; ?>" > deployment_remotes.php
cat deployment_remotes.php
php deployment.phar deployment.php --section staging
php -r 'require("deployment_remotes.php");'
production_deployment:
if: github.event.ref == 'refs/heads/production'