diff --git a/.build.yml b/.build.yml deleted file mode 100644 index be86755..0000000 --- a/.build.yml +++ /dev/null @@ -1,14 +0,0 @@ -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 5927bce..ba13162 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -117,23 +117,3 @@ jobs: # Push all tags git push codeberg --tags --force - - - name: Mirror to SourceHut - run: | - # Add SourceHut remote - git remote add sourcehut git@git.sr.ht:~miti99/miti99.srht.site - - # Fetch from SourceHut to get information about the default branch - git fetch sourcehut - - # Get list of local branches - LOCAL_BRANCHES=$(git branch | grep -v "origin/" | tr -d '* ' | tr '\n' ' ') - - # Push each local branch individually to SourceHut - for branch in $LOCAL_BRANCHES; do - # Push branch to SourceHut - git push sourcehut $branch:$branch --force - done - - # Push all tags - git push sourcehut --tags --force