Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Create scorecard.yml #1405

Create scorecard.yml

Create scorecard.yml #1405

Workflow file for this run

name: Publish
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
build:
permissions:
contents: write # for peaceiris/actions-gh-pages to push pages branch
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Online Document
run: |
git config --local --get remote.origin.url
cd docs/build_docs
bash build.sh latest
- name: Push to github
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build_tmp/gh-pages
publish_branch: gh-pages