fix: Codeberg & SourceHut

This commit is contained in:
2025-05-05 23:48:16 +07:00
parent d93b914dc4
commit 87605fa401
2 changed files with 15 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
image: alpine/edge
packages:
- hugo
- hut
oauth: pages.sr.ht/PAGES:RW
environment:
site: miti99.srht.site
tasks:
- package: |
cd $site
hugo
tar -C public -cvz . > ../site.tar.gz
- upload: |
hut pages publish -d $site site.tar.gz
+1 -1
View File
@@ -101,7 +101,7 @@ jobs:
- name: Mirror to Codeberg
run: |
# Add Codeberg remote
git remote add codeberg ssh://git@codeberg.org/miti99/miti99.codeberg.page.git
git remote add codeberg ssh://git@codeberg.org/miti99/pages.git
# Fetch from Codeberg to get information about the default branch
git fetch codeberg