diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..be86755 --- /dev/null +++ b/.build.yml @@ -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 diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 2718f20..5927bce 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -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