Skip to content

Fetch bookmarks

Fetch bookmarks #210

Workflow file for this run

name: Fetch bookmarks
on:
schedule:
- cron: "1 8 * * *"
workflow_dispatch:
jobs:
build:
name: "Fetch bookmarks"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: "package.json"
cache: "npm"
- run: npm ci
- name: Fetch bookmarks
run: npm run fetch_bookmarks
env:
RAINDROP_COLLECTION_ID: ${{ secrets.RAINDROP_COLLECTION_ID }}
RAINDROP_TOKEN: ${{ secrets.RAINDROP_TOKEN }}
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Fetched new bookmarks