subtitle_displayer/.forgejo/workflows/publish.yml
Stephen Seo cd8009b1a2
All checks were successful
Publish to burnedkirby.com/subtitle / publish-site (push) Successful in 0s
Add forgejo workflow/action to publish
2024-07-08 18:13:26 +09:00

16 lines
480 B
YAML

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/