Skip to content

update

update #15

Workflow file for this run

name: Update README
on:
repository_dispatch:
workflow_dispatch:
env:
NOW_PAGE: https://raw.githubusercontent.com/masci/dev/refs/heads/main/content/now.md
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Update README
run: |
curl -sS $NOW_PAGE | awk '/<!--- content --->/{p=1;next} p' > README.md
- name: Commit and push changes
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: "Update README from now.md"
branch: main