Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kilter Protocol
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kilter
Kilter Protocol
Commits
8577c152
Unverified
Commit
8577c152
authored
11 months ago
by
Dom Sekotill
Browse files
Options
Downloads
Patches
Plain Diff
Add a GH Action for docs deployment to Pages
parent
17beead4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/pages.yml
+31
-0
31 additions, 0 deletions
.github/workflows/pages.yml
with
31 additions
and
0 deletions
.github/workflows/pages.yml
0 → 100644
+
31
−
0
View file @
8577c152
name
:
Deploy Sphinx documentation to Pages
on
:
push
:
branches
:
[
test
]
jobs
:
build
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v3
-
uses
:
actions/setup-python@v3
-
name
:
Install dependencies
run
:
pip install .[docs]
-
name
:
Sphinx build
run
:
make -C doc html BUILDOUT=../_site
-
name
:
Upload artifact
uses
:
actions/upload-pages-artifact@v3
deploy
:
runs-on
:
ubuntu-latest
needs
:
build
environment
:
name
:
github-pages
url
:
${{ steps.deployment.outputs.page_url }}
permissions
:
pages
:
write
id-token
:
write
steps
:
-
name
:
Deploy to GitHub Pages
id
:
deployment
uses
:
actions/deploy-pages@v4
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment