This commit is contained in:
parent
93bd93697f
commit
c6a51ad8dc
2 changed files with 21 additions and 1 deletions
19
.forgejo/workflows/deploy.yml
Normal file
19
.forgejo/workflows/deploy.yml
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue