Git-Pages template for automatic deployment
This commit is contained in:
17
.forgejo/workflows/publish.yml
Normal file
17
.forgejo/workflows/publish.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
name: Publish Site
|
||||
on:
|
||||
push:
|
||||
branches: [main, pages]
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: codeberg-tiny
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Publish to Git-Pages
|
||||
uses: actions/git-pages@v2
|
||||
with:
|
||||
site: https://pages.ntiforo.net/${{ github.event.repository.name }}/
|
||||
password: ${{ secrets.GIT_PAGES_PASSWORD }}
|
||||
source: .index/
|
||||
Reference in New Issue
Block a user