Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Lagoproject.Net.Gh
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
LAGO
Lagoproject.Net.Gh
Commits
3a5fbd52
Unverified
Commit
3a5fbd52
authored
4 months ago
by
Alexander Martinez
Committed by
GitHub
4 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Create buildGHPages.yml
parent
ceb7cddb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/buildGHPages.yml
+48
-0
48 additions, 0 deletions
.github/workflows/buildGHPages.yml
with
48 additions
and
0 deletions
.github/workflows/buildGHPages.yml
0 → 100644
+
48
−
0
View file @
3a5fbd52
name
:
Build GitHub Pages
on
:
push
:
branches
:
-
main
paths
:
-
'
./**'
workflow_dispatch
:
permissions
:
contents
:
write
pages
:
write
id-token
:
write
jobs
:
build_mkdocs
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@v4
with
:
fetch-depth
:
0
-
uses
:
actions/setup-python@v5
with
:
python-version
:
3.9
-
run
:
pip install -r requirements.txt
-
run
:
mkdocs gh-deploy --config-file mkdocs.yml --force
deploy_mkdocs
:
needs
:
build_mkdocs
environment
:
name
:
github-pages
url
:
${{ steps.deployment.outputs.page_url }}
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v4
with
:
ref
:
gh-pages
-
name
:
Setup Pages
uses
:
actions/configure-pages@v5
-
name
:
Upload artifact
uses
:
actions/upload-pages-artifact@v3
with
:
path
:
'
.'
-
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