yortyrh / geoipupdate-action

Downloads the latest version of a MaxMind GeoIP database

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MaxMind GeoIP Updater

This action downloads the latest version of a MaxMind GeoIP database

Inputs

account-id

Required Account ID associated with your MaxMind account. This are available from https://www.maxmind.com/en/my_license_key

license-key

Required License key associated with your MaxMind account. This are available from https://www.maxmind.com/en/my_license_key

edition-ids

Required Enter the edition IDs of the databases you would like to update. Multiple edition IDs are separated by spaces.

dp-path

Required Enter the workspace path to save databases in.

Example usage

    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: MaxMind GeoIP Updater
        uses: yortyrh/geoipupdate-action@v4
        with:
          account-id: ${{ secrets.GEOIPUPDATE_ACCOUNT_ID }}
          license-key: ${{ secrets.GEOIPUPDATE_LICENSE_KEY }}
          edition-ids: 'GeoLite2-City'
          db-path: 'dbs'

      - name: List files
        run: |
          ls -l dbs

About

Downloads the latest version of a MaxMind GeoIP database

License:MIT License


Languages

Language:Dockerfile 62.3%Language:Shell 37.7%