Skip to content

feat: fix content

feat: fix content #11

Workflow file for this run

name: Build and Commit PDF and PPTX
on:
push:
branches:
- main
paths:
- 'src/**'
pull_request:
branches:
- main
paths:
- 'src/**'
permissions:
contents: write
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '23'
- name: Install dependencies
run: npm install
- name: Build PDF
run: npm run build:pdf
- name: Build PPTX
run: npm run build:pptx
- name: Commit and push changes
run: |
git config user.name github-actions
git config user.email [email protected]
git add -A .
git commit -m "generated"
git push origin HEAD:${{ github.head_ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}