From 340b0bc05a530b390a3d78aa6d5adadf77abdac8 Mon Sep 17 00:00:00 2001 From: Celestia Ludenberg Date: Mon, 8 Jun 2026 04:54:39 +0000 Subject: [PATCH] fix: write ia credentials to config file The ia CLI removed --email/--password flags. Create config file with email and password from secrets. --- .github/workflows/build.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4e5b855..82844c2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,10 +50,16 @@ jobs: - name: Upload to Internet Archive if: github.ref == 'refs/heads/master' env: - AWS_ACCESS_KEY_ID: ${{ secrets.IA_ACCESS_KEY }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.IA_SECRET_KEY }} + IA_EMAIL: ${{ secrets.IA_EMAIL }} + IA_PASSWORD: ${{ secrets.IA_PASSWORD }} run: | pip install --break-system-packages internetarchive + mkdir -p ~/.config + cat > ~/.config/internetarchive.cfg << EOF + [general] + email = $IA_EMAIL + password = $IA_PASSWORD + EOF ISO=$(ls out/*.iso | head -1) ia upload antergos-next "$ISO" \ --metadata="title:Antergos NeXT Live ISO" \