forked from MapComplete/MastodonBot
25 lines
No EOL
629 B
YAML
25 lines
No EOL
629 B
YAML
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 2 * * 1"
|
|
|
|
jobs:
|
|
ghostbikebot_masto_bike:
|
|
runs-on: [ debian12 ]
|
|
steps:
|
|
- uses: https://source.mapcomplete.org/actions/checkout@v4
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: "20"
|
|
cache: "npm"
|
|
cache-dependency-path: package-lock.json
|
|
|
|
- name: install deps
|
|
run: npm ci
|
|
shell: bash
|
|
|
|
- name: Create ghostbike overview
|
|
shell: bash
|
|
run: npm run start -- ./.forgejo/workflows/config/config_ghost-bikes.json ${{ secrets.GHOSTBIKEBOT_MASTO_BIKE }} |