π Spread ze notes! #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: workflow_dispatch | |
name: π Spread ze notes! | |
jobs: | |
web-deploy: | |
name: π Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Get latest code | |
uses: actions/checkout@v4 | |
- name: π Sync files | |
uses: timseverien/[email protected] | |
with: | |
feedType: jsonfeed | |
feedUrl: https://www.erikkroes.nl/notes/feed.json | |
# Optional: format the message - allows you to add prefixes and suffixes | |
# contentFormat: '{{content}} {{url}}' | |
# Optional: change the cache directory used to track whatβs published | |
# cacheDirectory: .cache/syndicate-notes | |
# Integration details | |
# These are all optional β omit the integrations you donβt want to publish to | |
discordWebhookId: ${{ secrets.discordWebhookId }} | |
discordWebhookToken: ${{ secrets.discordWebhookToken }} | |
mastodonInstance: 'https://mastodon.social' | |
mastodonAccessToken: ${{ secrets.mastodonAccessToken }} | |
# Required to persist cache | |
- name: Commit and push | |
uses: stefanzweifel/git-auto-commit-action@v4 |