From 0061ebd7a865da874b69d872751cbaff28c6d447 Mon Sep 17 00:00:00 2001 From: Celestia Ludenberg Date: Mon, 8 Jun 2026 14:16:35 +0000 Subject: [PATCH] fix: use IA S3 keys for auth --- .github/workflows/build.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dc055c1..bf65cff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,14 +50,10 @@ jobs: - name: Upload to Internet Archive if: github.ref == 'refs/heads/master' env: - IA_EMAIL: ${{ secrets.IA_EMAIL }} - IA_PASSWORD: ${{ secrets.IA_PASSWORD }} + IA_ACCESS_KEY: ${{ secrets.IA_ACCESS_KEY }} + IA_SECRET_KEY: ${{ secrets.IA_SECRET_KEY }} run: | - pip install --break-system-packages "internetarchive<1.0.0" - # Try netrc auth - mkdir -p ~/.config - printf 'machine archive.org\nlogin %s\npassword %s\n' "$IA_EMAIL" "$IA_PASSWORD" > ~/.netrc - chmod 600 ~/.netrc + pip install --break-system-packages internetarchive ISO=$(ls out/*.iso | head -1) ia upload antergos-next "$ISO" \ --metadata="title:Antergos NeXT Live ISO" \ @@ -68,4 +64,4 @@ jobs: --metadata="subject:Antergos NeXT; Arch Linux; live ISO; Linux distribution" \ --metadata="language:eng" \ --metadata="mediatype:software" \ - --metadata="collection:opensource" || echo "Upload failed, skipping..." + --metadata="collection:opensource"