Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

cleanup

cleanup #11

Workflow file for this run

name: cleanup
on:
schedule:
- cron: '0 19 * * 0'
workflow_dispatch:
jobs:
cleanup:
name: cleanup
runs-on: ubuntu-latest
steps:
- name: SSH To Host
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
script: |
cd ${{ secrets.PROJ_PATH }}
sudo bash ./deploy.sh