Skip to content

update-data

update-data #272

Workflow file for this run

name: Check for data updates
on:
schedule:
- cron: '42 0 * * 1'
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Update ICANN
run: data/icann/update_icann.sh
- name: Update PublicSuffixList
run: data/publicsuffix/update_publicsuffix.sh
- name: Install SSH Client
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
- name: Prepare git and github
run: |
git config --global user.email "[email protected]"
git config --global user.name "Github Action"
git remote add deploy [email protected]:redirect2me/resolvers.git
git checkout main
- name: Commit changes
run: data/data-commit.sh