-
-
Notifications
You must be signed in to change notification settings - Fork 0
24 lines (21 loc) · 663 Bytes
/
updater-wip.yml
File metadata and controls
24 lines (21 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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 }}