mirror of
https://github.com/osmoscraft/osmosfeed-template.git
synced 2026-03-11 14:44:24 +00:00
setup initial content
This commit is contained in:
commit
f4266d3b65
3 changed files with 29 additions and 0 deletions
22
.github/workflows/daily-update.yaml
vendored
Normal file
22
.github/workflows/daily-update.yaml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
name: Build site on scheulde or master update
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
schedule:
|
||||
# just after Mid-night
|
||||
- cron: "5 8 * * *"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Build the feed
|
||||
run: npx @osmoscraft/osmosfeed
|
||||
- name: Deploy to GitHub Pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./public
|
||||
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
public
|
||||
node_modules
|
||||
5
osmosfeed.yaml
Normal file
5
osmosfeed.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# cacheUrl: https://REPLACE_THIS_WITH_YOUR_HOSTNAME/cache.json
|
||||
sources:
|
||||
- href: https://css-tricks.com/feed/
|
||||
- href: https://www.smashingmagazine.com/feed/
|
||||
- href: https://www.freecodecamp.org/news/rss/
|
||||
Loading…
Reference in a new issue