Add forgejo workflow/action to publish
All checks were successful
Publish to burnedkirby.com/subtitle / publish-site (push) Successful in 0s
All checks were successful
Publish to burnedkirby.com/subtitle / publish-site (push) Successful in 0s
This commit is contained in:
parent
cde81c1c5b
commit
cd8009b1a2
1 changed files with 16 additions and 0 deletions
16
.forgejo/workflows/publish.yml
Normal file
16
.forgejo/workflows/publish.yml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
name: Publish to burnedkirby.com/subtitle
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'main'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish-site:
|
||||||
|
runs-on: local_self
|
||||||
|
steps:
|
||||||
|
- name: Clone repo
|
||||||
|
run: git clone --depth=1 --no-single-branch https://git.seodisparate.com/stephenseo/subtitle_displayer.git
|
||||||
|
- name: Checkout main
|
||||||
|
run: cd subtitle_displayer && git checkout main
|
||||||
|
- name: Publish index.html
|
||||||
|
run: cp subtitle_displayer/index.html /srv/http/burnedkirby.com/subtitle/
|
Loading…
Reference in a new issue