mirror of
https://github.com/tiennm99/tiennm99.github.io.git
synced 2026-09-02 14:21:12 +00:00
fix: Codeberg & SourceHut
This commit is contained in:
+14
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user