#1965 Now using LatLng and IngameXY structs in MOST places #1073
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dummy commits done: 1 | |
name: Testing Deploy | |
on: | |
push: | |
branches: development | |
jobs: | |
deploy-testing: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Update testing environment | |
# Only trigger this pipeline when our source development | |
if: github.actor == 'Wotuu' | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.SERVER_IP }} | |
username: ${{ secrets.DEPLOY_USERNAME }} | |
key: ${{ secrets.DEPLOY_PRIVATE_KEY }} | |
script: cd /var/www/html/keystone.guru.testing/; | |
php artisan readonly:enable && | |
php artisan db:backup && | |
php artisan up; | |
php artisan down --render="errors::503" --retry 60; | |
php artisan environment:updateprepare testing && | |
php artisan environment:update testing; | |
php artisan readonly:disable && | |
php artisan up && | |
./vendor/bin/phpunit; |