Skip to content

Create invalid.md

Create invalid.md #7

Workflow file for this run

name: 📔 Create generated work
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: 📔 Create generated work
concurrency:
group: ci-${{github.repository}}
cancel-in-progress: false
steps:
- name: 📦 Checkout Repository
uses: actions/checkout@v4
- name: ⌛ Get Time
id: time
uses: nanzm/[email protected]
with:
timeZone: 8
format: "YYYY-MM-DD"
- name: 🏗️ Setup Node.js Environment
uses: actions/setup-node@v4
with:
cache: npm
cache-dependency-path: generator/package-lock.json
node-version-file: generator/.nvmrc
- name: 🏗️ Setup project
working-directory: generator
run: npm ci
- name: 🛠️ Build
working-directory: generator
run: npm run compile
- name: 📔 Generate
working-directory: generator
run: npm run gen
- name: ✏️ Commit changes
continue-on-error: true
run: |
cd ${{github.workspace}}
git config --global user.email "[email protected]"
git config --global user.name "Orbi-bot"
git add .
git commit -m "auto: 📔 Generated documents ${{ steps.time.outputs.time }}"
git push
- name: 📔 Create Readmes
uses: DaanV2/[email protected]
with:
folder: ${{github.workspace}}
filename: README.md
- name: ✏️ Commit changes
continue-on-error: true
run: |
git add .
git commit -m "auto: 📔 Generated README ${{ steps.time.outputs.time }}"
git push