-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (35 loc) · 1018 Bytes
/
status.yaml
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
---
name: newsman-status
on:
schedule:
- cron: "0 6 * * 1"
push:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
jobs:
newsman-daily-status:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- run: gem install newsman
- name: Run newsman script
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }}
run: newsman --name "Vladimir Zakharov" --username "volodya-lombrozo" --repository objectionary/jeo-maven-plugin,objectionary/opeo-maven-plugin -o html -t Objectionary
- run: mkdir -p gh-pages/$(date +'%Y/%m/%d')
- run: cp *.html gh-pages/$(date +'%Y/%m/%d')
- uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: gh-pages
clean: false