1
0
forked from notBrad/bubo-rss

Compare commits

...

12 Commits

Author SHA1 Message Date
George Mandis
b0741837d5 Merge branch 'main' into github-action-publishing 2021-05-09 11:49:43 -07:00
George Mandis
92a9012b7e Merge branch 'master' into github-action-publishing 2020-02-04 10:09:44 -05:00
George Mandis
6cf062e42d
Update and rename publish.yml to publish.yml--example
Added "--example" to extension to prevent workflow from running on this repo
2020-02-04 10:05:58 -05:00
George Mandis
6a5dee1f41
Update publish.yml
Commenting out "on" block to prevent trigger
2020-02-04 10:04:35 -05:00
George Mandis
987a0445f1
Update publish.yml
Commenting out the cron scheduling because I don't actually want this to run on the repo
2020-02-04 10:02:29 -05:00
George Mandis
1b665ea9ba Merge branch 'master' into github-action-publishing 2020-02-04 09:44:35 -05:00
George Mandis
72062d5335 Merge branch 'master' into github-action-publishing 2020-02-04 09:43:18 -05:00
George Mandis
6bcb0ca5e1 Merge branch 'master' into github-action-publishing 2020-02-04 09:28:33 -05:00
George Mandis
e805fcc954 Merge branch 'master' into github-action-publishing 2020-02-04 09:01:51 -05:00
George Mandis
2c056603f0 Merge branch 'master' into github-action-publishing 2020-02-04 08:59:48 -05:00
George Mandis
33761d7e20 Updating README 2020-02-04 08:57:48 -05:00
George Mandis
e4a26fef91 Maded changes to GitHub Actions based publishing 2020-02-04 08:45:40 -05:00
3 changed files with 38 additions and 4 deletions

36
.github/workflows/publish.yml--example vendored Normal file
View File

@ -0,0 +1,36 @@
name: Publish with GitHub Actions
# Uncommen the "on" block below to use
on:
push:
branches:
- master
schedule:
# Run this script every 15 minutes
- cron: '*/15 * * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout master branch
uses: actions/checkout@v2
with:
ref: master
- name: Setup Node.js and install dependencies
uses: actions/setup-node@v1
with:
node-version: 11.4.0
- run: npm install
- name: Run build and parse RSS feeds
- run: npm run build --if-present
- name: Commit latest build to ./output folder
uses: github-actions-x/commit@v2.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
push-branch: 'master'
commit-message: 'Published latest changes to RSS feeds'
force-add: 'true'
files: output/*
name: GitHub Action Bubo Bot
email: action@github.com

1
.gitignore vendored
View File

@ -1,2 +1 @@
node_modules/*
output/index.html

View File

@ -1,4 +1,3 @@
[build]
command = "npm run build"
publish = "output/"