From 83c87df917ef908726dc3b69365796186e1cd172 Mon Sep 17 00:00:00 2001 From: Matteo Gheza Date: Tue, 20 Apr 2021 15:10:57 +0200 Subject: [PATCH] Update php.yml --- .github/workflows/php.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index ae4164c..df28af7 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -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 ' [ 'remote' => '${{ secrets.DEPLOY_URL }}', 'sentry_env' => 'staging' ] ]; ?>' > deployment_remotes.php + echo ' [ "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