Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Merge pull request #9 from sbu-python-class/dependabot/github_actions…#229

Merge pull request #9 from sbu-python-class/dependabot/github_actions…

Merge pull request #9 from sbu-python-class/dependabot/github_actions… #229

Workflow file for this run

name:Publish JupyterBook to GitHub Pages
on:
push:# trigger build only when push to main
branches:
-main
jobs:
build:
runs-on:ubuntu-latest
steps:
-uses:actions/checkout@v5
-name:Set up Python
uses:actions/setup-python@v6
with:
python-version:"3.11"
cache:"pip"
-name:Install Python dependencies
run:|
sudo apt-get install python3-pip graphviz
pip install -r requirements.txt
pip install ghp-import
PATH="${PATH}:${HOME}/.local/bin"
-name:Build book HTML
run:|
jupyter-book build ./content
-name:Push _build/html to gh-pages
run:|
sudo chown -R $(whoami):$(whoami) .
git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com"
git config --global user.name "$GITHUB_ACTOR"
git remote set-url origin "https://$GITHUB_ACTOR:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY"
ghp-import ./content/_build/html -f -p -n

[8]ページ先頭

©2009-2025 Movatter.jp