Remove temp fix-ia workflow (collection fixed)
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
name: Fix IA Collection
|
||||
on: workflow_dispatch
|
||||
jobs:
|
||||
fix:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Fix collection
|
||||
env:
|
||||
IA_ACCESS_KEY: ${{ secrets.IA_ACCESS_KEY }}
|
||||
IA_SECRET_KEY: ${{ secrets.IA_SECRET_KEY }}
|
||||
run: |
|
||||
pip install --break-system-packages internetarchive
|
||||
mkdir -p ~/.config/internetarchive
|
||||
printf '[s3]\naccess = %s\nsecret = %s\n' "$IA_ACCESS_KEY" "$IA_SECRET_KEY" > ~/.config/internetarchive/ia.ini
|
||||
chmod 600 ~/.config/internetarchive/ia.ini
|
||||
ia metadata antergos-next --modify="mediatype:software"
|
||||
# Also try adding to collection - may fail if not authorized
|
||||
ia metadata antergos-next --modify="collection:opensource" || echo "opensource collection not authorized via API"
|
||||
Reference in New Issue
Block a user