-
Notifications
You must be signed in to change notification settings - Fork 10
54 lines (43 loc) · 1.52 KB
/
engineering-manager-blogs.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
44
45
46
47
48
49
50
51
52
53
54
name: engineering-manager-blogs
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: '23 */4 * * *'
jobs:
build:
runs-on: ubuntu-latest
environment: new-york-times-rss-top-100 # reuse for AWS creds only
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build
run: go build -v ./...
- name: Run
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: us-west-2
RSSCOMBINE_TITLE: "Engineering Manager Blogs"
RSSCOMBINE_DESCRIPTION: "Collection of Engineering Manager Blog RSS Feeds"
RSSCOMBINE_AUTHOR_EMAIL: "[email protected]"
RSSCOMBINE_AUTHOR_NAME: "Chase Seibert"
RSSCOMBINE_FEED_LIMIT_PER_FEED: 1
RSSCOMBINE_FEED_URLS: "https://raw.githubusercontent.com/chase-seibert/engineering-manager-blogs/master/README.md"
RSSCOMBINE_LINK: "https://github.com/chase-seibert/engineering-manager-blogs"
RSSCOMBINE_S3_FILENAME: "engineering-manager-blogs.xml"
run: go run rsscombine.go
- uses: gautamkrishnar/keepalive-workflow@v1