Update php.yml

This commit is contained in:
Matteo Gheza 2021-04-18 00:28:03 +02:00 committed by GitHub
parent 9a1161ab58
commit 1d1c46ecc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -188,8 +188,10 @@ 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' => $DEPLOY_URL, 'sentry_env' => 'staging' ] ]; ?>" > deployment_remotes.php
echo "<?php $remotes = [ 'staging' => [ 'remote' => '${{ secrets.DEPLOY_URL_TMP }}', 'sentry_env' => 'staging' ] ]; ?>" > deployment_remotes.php
cat deployment_remotes.php
echo ${{ secrets.DEPLOY_URL_TMP }} | base64 -d > test
cat test
# php deployment.phar deployment.php --section staging
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2.2.3