Skip to content

Merge pull request #6 from william-buerk/date-patch #12

Merge pull request #6 from william-buerk/date-patch

Merge pull request #6 from william-buerk/date-patch #12

Workflow file for this run

name: deploy
on:
push:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Pull on and restart server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.D_HOST }}
username: ${{ secrets.D_USERNAME }}
key: ${{ secrets.D_KEY }}
passphrase: ${{ secrets.D_PASSPHRASE }}
script: |
# print info
whoami
# go to repo dir
cd /home/myclasses/public_html/uiuc-course-calendar
# update
git fetch
git reset --hard origin/main