Skip to content

config ファイルを読み込む機能を実装 #49

config ファイルを読み込む機能を実装

config ファイルを読み込む機能を実装 #49

Workflow file for this run

name: Generate Picture and Push to output branch
on:
push:
branches:
- main
permissions:
contents: write
jobs:
generate:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Generate Picture
uses: ry05k2ulv/grassland@main
with:
github_username: ${{ github.repository_owner }}
github_token: ${{ secrets.GITHUB_TOKEN }}
config_file: ${{ github.workspace }}/config.toml
- name: Push output image to output branch
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: output
build_dir: dist
commit_message: "Generate Output Image"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}