Skip to content

.github/workflows/main.yml #57

.github/workflows/main.yml

.github/workflows/main.yml #57

Workflow file for this run

on:
schedule:
# Deploy every day at midnight to keep the maxmind db up to date
- cron: '0 0 * * *'
push:
branches:
- main
jobs:
updater:
runs-on: ubuntu-latest
name: Sample usage
steps:
- name: Checkout
uses: actions/checkout@v4
- name: MaxMind GeoIP Updater
uses: yortyrh/geoipupdate-action@v4
id: updater
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