From c6a51ad8dcffb524fb967b6632b74a5027b618dc Mon Sep 17 00:00:00 2001 From: Deiru TwoKey Date: Tue, 14 Apr 2026 17:33:31 +0300 Subject: [PATCH] feat: actions --- .forgejo/workflows/deploy.yml | 19 +++++++++++++++++++ index.html | 3 ++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .forgejo/workflows/deploy.yml diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml new file mode 100644 index 0000000..6b8c5a4 --- /dev/null +++ b/.forgejo/workflows/deploy.yml @@ -0,0 +1,19 @@ +name: publish + +on: + push: + branches: + - main + +jobs: + publish-site: + runs-on: native + steps: + - name: Checkout Code + uses: https://code.forgejo.org/actions/checkout@v4 + - name: LS + run: ls -al + - name: Clean + run: rm -rf /data/www/deiru.online/files/* + - name: Copy + run: cp -r ./* /data/www/deiru.online/files diff --git a/index.html b/index.html index e6b8d5a..8750aa0 100644 --- a/index.html +++ b/index.html @@ -26,7 +26,8 @@