mirror of
https://github.com/nafnlj/nljfeeds.git
synced 2024-12-04 21:46:09 +00:00
Initial commit
This commit is contained in:
commit
227cc40a91
31
.github/workflows/update-feed.yaml
vendored
Normal file
31
.github/workflows/update-feed.yaml
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
name: Build site on schedule or main branch update
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
schedule:
|
||||||
|
# Adjust refresh schedule here. By default, it runs once per day.
|
||||||
|
# Syntax reference: https://docs.github.com/en/actions/reference/events-that-trigger-workflows#schedule
|
||||||
|
# Recommended tool: https://crontab.guru/
|
||||||
|
- cron: "0 0 * * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Setup Node.js environment
|
||||||
|
uses: actions/setup-node@v2.1.4
|
||||||
|
with:
|
||||||
|
node-version: "16"
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm i
|
||||||
|
- name: Build the feed
|
||||||
|
run: npm run build
|
||||||
|
- name: Deploy to GitHub Pages
|
||||||
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
publish_dir: ./public
|
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
public
|
||||||
|
node_modules
|
||||||
|
package-lock.json
|
10
README.md
Normal file
10
README.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# About
|
||||||
|
|
||||||
|
This is repository hosts the UI and content of an RSS feed reader.
|
||||||
|
|
||||||
|
## Links and references
|
||||||
|
|
||||||
|
- [How does it work?](https://github.com/osmoscraft/osmosfeed#osmosfeed)
|
||||||
|
- [File an issue about the template](https://github.com/osmoscraft/osmosfeed-template)
|
||||||
|
- [File an issue about the tool](https://github.com/osmoscraft/osmosfeed)
|
||||||
|
- [Lastest documentation](https://github.com/osmoscraft/osmosfeed)
|
11
osmosfeed.yaml
Normal file
11
osmosfeed.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#########################
|
||||||
|
# Full reference
|
||||||
|
# https://github.com/osmoscraft/osmosfeed/blob/master/docs/osmosfeed-yaml-reference.md
|
||||||
|
#########################
|
||||||
|
|
||||||
|
# cacheUrl: https://GITHUB_USERNAME.github.io/REPO_NAME/cache.json
|
||||||
|
sources:
|
||||||
|
- href: https://github.com/osmoscraft/osmosfeed/releases.atom # Get new feature announcement via this feed
|
||||||
|
- href: https://css-tricks.com/feed/
|
||||||
|
- href: https://www.smashingmagazine.com/feed/
|
||||||
|
- href: https://www.freecodecamp.org/news/rss/
|
23
package.json
Normal file
23
package.json
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"name": "osmosfeed-template",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "Use this template to create the UI and content of an RSS feed reader.",
|
||||||
|
"main": "index.js",
|
||||||
|
"scripts": {
|
||||||
|
"build": "osmosfeed"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/osmoscraft/osmosfeed-template.git"
|
||||||
|
},
|
||||||
|
"keywords": [],
|
||||||
|
"author": "osmoscraft",
|
||||||
|
"license": "MIT",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/osmoscraft/osmosfeed-template/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://github.com/osmoscraft/osmosfeed-template#readme",
|
||||||
|
"dependencies": {
|
||||||
|
"@osmoscraft/osmosfeed": "^1.2.2"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user