Skip to content

Refresh notes

Refresh notes #868

name: Refresh notes
on:
workflow_dispatch:
schedule:
- cron: '27 5 * * *'
env:
LANG: "nl_BE.UTF-8"
jobs:
refreshscript:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install osmtogeojson and geojson-merge
run: |
npm install -g osmtogeojson
npm install -g @mapbox/geojson-merge
- name: Set locale to get date in nl_BE format
run: |
sudo locale-gen nl_BE.UTF-8
sudo update-locale LANG=nl_BE.UTF-8
- name: Call the automate.sh script
run: bash automate.sh
- name: Push to remote
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "[email protected]"
git add data
git add html
git commit -m "Update geojson files (actions)"
git push