Skip to content

Commit

Permalink
Download the bookmarks nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
danott committed Jan 15, 2024
1 parent 0a9ec65 commit 8092b2b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/download_pinboard_bookmarks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Download Pinboard Bookmarks
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
rake:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- run: bundle exec rake download_pinboard_bookmarks
- name: Commit files
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add site/_pinboard_bookmarks.yml
git commit --only site/_pinboard_bookmarks.yml --message "Ran rake download_pinboard_bookmarks in a GitHub Action" || echo "Nothing to commit"
git push

0 comments on commit 8092b2b

Please sign in to comment.