Skip to content

update and reload website #9

update and reload website

update and reload website #9

Workflow file for this run

name: update and reload website
on: workflow_dispatch
jobs:
update:
name: Update repository
runs-on: ubuntu-latest
steps:
- name: git pull
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: cd fanography-info && git pull
reload:
name: Reload website
needs: update
runs-on: ubuntu-latest
steps:
- name: touch WSGI
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: touch /var/www/www_fanography_info_wsgi.py