Skip to content

Merge pull request #141 from MRT-Map/dependabot/npm_and_yarn/gatelogu… #235

Merge pull request #141 from MRT-Map/dependabot/npm_and_yarn/gatelogu…

Merge pull request #141 from MRT-Map/dependabot/npm_and_yarn/gatelogu… #235

Workflow file for this run

on:
workflow_dispatch:
push:
branches: [ "main" ]
schedule:
- cron: 0 0 * * *
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: dist
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: pypa/hatch@install
- run: sudo apt-get update; sudo apt-get install --no-install-recommends graphviz graphviz-dev
- run: bash update.sh
- run: echo "message=update @ $(date +%Y%m%dT%H:%M:%S%Z)" >> "$GITHUB_ENV"
- uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: ${{ env.message }}
- uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.PAT }}
repository: mrt-map/transit-map
event-type: update_map