mirror of
https://github.com/aditya-K2/gspt.git
synced 2026-01-07 21:13:50 -05:00
32 lines
606 B
YAML
32 lines
606 B
YAML
name: Generate CONFIG.md
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
paths:
|
|
- config/**
|
|
- extras/generate.go
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
default_conf:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: 1.19
|
|
|
|
- name: Install make
|
|
run: sudo apt update && sudo apt install build-essential
|
|
|
|
- name: Generate CONFIG.md
|
|
run: make docs
|
|
|
|
- name: Commit CONFIG.md
|
|
uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
commit_message: Generate CONFIG.md
|