diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0716c82..1a88857 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,3 +97,15 @@ jobs: -m "Guess what? Mirrors!

" \ -t $REF \ v$VERSION + + - name: Archive to archive.org + continue-on-error: true + env: + REPO: ${{ github.repository }} + run: | + URL="https://github.com/$REPO/releases/" + curl "https://web.archive.org/save/" \ + --compressed -s \ + -H 'Content-Type: application/x-www-form-urlencoded' \ + --data-raw "url=$URL&capture_all=on" \ + | grep github