GitHub Action
README mountain
v1.0.2
Latest version
default | dark | sakura | maple |
- Create your repository.
- Create workflow file.
path:
.github/workflow/generate-mountain.yml
example:
on:
schedule: # run 0:00 (JST)
- cron: "0 9 * * *"
workflow_dispatch:
jobs:
readme_mountain:
runs-on: ubuntu-latest
name: generate-mountain
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use README.Mountain
uses: suba327777/README.Mountain@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
USERNAME: ${{ github.repository_owner }}
# select theme
THEME: "default"
- name: commit & push
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "[μRM] generate svg."
git push
- golang 1.21