Updater (WIP) #275
This file contains hidden or 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
# This workflow is only for the Hugo Blox repository. It is safe to delete from your site. | |
name: Updater (WIP) | |
on: | |
schedule: | |
- cron: 0 0 * * 0 | |
# Allows you to run this workflow manually from the Actions tab on GitHub. | |
workflow_dispatch: | |
# Provide permission to clone the repo and deploy it to GitHub Pages | |
permissions: | |
contents: write | |
jobs: | |
update: | |
if: github.repository_owner == 'HugoBlox' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: HugoBlox/gh-action-updater@v2 | |
with: | |
feed-url: https://hugoblox.com/rss.xml | |
readme-section: news | |
branch: main | |
github_token: ${{ secrets.GITHUB_TOKEN }} |