Skip to content

newsman-status

newsman-status #11

Workflow file for this run

---
name: newsman-status
on:
schedule:
- cron: "* 23 * * *"
push:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
newsman-daily-status:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- run: gem install newsman
- run: newsman --help
- run: mkdir -p gh-pages/$(date +'%Y/%m/%d')
- run: cp gh-pages/*.txt gh-pages/$(date +'%Y/%m/%d')
- uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: gh-pages
clean: false