Skip to content

Commit

Permalink
automatically generated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
on committed Aug 15, 2024
1 parent 8a1bbe3 commit 2b2d9d8
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/generate-readme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
workflow_dispatch:
push:
branches: ['main']
paths: ['**.user.js', 'generate-readme.ps1']

name: Generate Readme

jobs:
generate-readme:
name: Generate Readme
runs-on: self-hosted
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Generate Readme
shell: pwsh
run: |
./generate-readme.ps1 | Out-File -filePath README.md -Encoding UTF8
git config user.email "m365-bot@ntnu.no"
git config user.name "github-actions[bot]"
git add README.md
git commit -m "Generated Readme"
git push

0 comments on commit 2b2d9d8

Please sign in to comment.