Skip to content

Upload files to an archive.org collection in your GitHub Action

License

Notifications You must be signed in to change notification settings

palewire/internet-archive-upload

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inputs

  • access-key: Your archive.org access key
  • secret-key: Your archive.org secret key
  • identifier: The unique identifier of the archive.org item where the file will be stored
  • files: The file or folder path inside the action's filesystem to upload

Usage

Upload a single file.

name: Example action
jobs:
  job:
    name: Upload
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Upload file to archive.org
        uses: palewire/internet-archive-upload@v1
        with:
          access-key: ${{ secrets.IA_ACCESS_KEY }}
          secret-key: ${{ secrets.IA_SECRET_KEY }}
          identifier: your-item
          files: your-file.jpg

Upload a directory of files.

name: Example action
jobs:
  job:
    name: Upload
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Upload file to archive.org
        uses: palewire/internet-archive-upload@v1
        with:
          access-key: ${{ secrets.IA_ACCESS_KEY }}
          secret-key: ${{ secrets.IA_SECRET_KEY }}
          identifier: your-item
          files: your-files/