File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : publish
2+
3+ # Controls when the action will run.
4+ on :
5+ # Remark: uncomment one section only
6+ # Remark: Next 1 line requires manual action, Click on action tab, then publish
7+ # workflow_dispatch
8+ # Remark: Next 3 lines triggers the workflow on push events for the main branch
9+ push :
10+ branches :
11+ - main
12+
13+ jobs :
14+ deploy :
15+ runs-on : ubuntu-latest
16+ permissions :
17+ contents : write
18+ if : github.repository_owner == 'loopandlearn'
19+ steps :
20+ - uses : actions/checkout@v4
21+ - uses : actions/setup-python@v5
22+ with :
23+ python-version : 3.x
24+ - run : pip install -r requirements.txt
25+ - run : mkdocs build
26+
27+ - uses : JamesIves/github-pages-deploy-action@v4
28+ with :
29+ branch : gh-pages
30+ folder : site
You can’t perform that action at this time.
0 commit comments