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 @@