Skip to content

Adding Jenn Tsan's 2019 CSE paper #137

Adding Jenn Tsan's 2019 CSE paper

Adding Jenn Tsan's 2019 CSE paper #137

Workflow file for this run

name: Deploy to EC2
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Rsync files to the server
uses: burnett01/[email protected]
with:
switches: -avzr --delete
path: './'
remote_path: '/var/www/html'
remote_host: ${{ secrets.HOST }}
remote_user: ${{ secrets.USERNAME }}
remote_key: ${{ secrets.DEPLOY_KEY }}
- name: Execute deployment script
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.DEPLOY_KEY }}
script: |
cd /var/www/html
composer install --no-dev
php artisan cache:clear