-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (32 loc) · 963 Bytes
/
blog.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# This is a basic workflow to help you get started with Actions
name: Blog
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
schedule: # Run workflow automatically
- cron: '0 * * * *' # Runs every hour, on the hour
workflow_dispatch:
repository_dispatch:
types:
- webhook
env:
RSS_FEEDS: https://www.reddit.com/r/2600.rss,https://2600.com/rss.xml
jobs:
prebuild:
runs-on: ubuntu-latest
steps:
- uses: technote-space/auto-cancel-redundant-workflow@v1
- name: Cancel redundant workflows
run: echo "Cancel redundant workflows finished"
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Blog Post Workflow
uses: gautamkrishnar/[email protected]
with:
gh_token: ${{ github.token }}
feed_list: ${{ env.RSS_FEEDS }}
readme_path: ./profile/README.md