Skip to content

Commit

Permalink
Merge branch 'cst-deploy' into 'main'
Browse files Browse the repository at this point in the history
Build and deploy docs via GitLab CI/CD and GitHub Actions

See merge request emi/dynamic-vehicle-routing/dvrpsim!1
  • Loading branch information
Cserteg Tamás committed Nov 4, 2024
2 parents a582a14 + 8f936da commit 956a361
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Build and deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install mkdocs pymdown-extensions mkdocs-material
- run: mkdocs gh-deploy --force --clean --verbose
14 changes: 14 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
image: python:3

before_script:
- pip install mkdocs pymdown-extensions mkdocs-material

build:
stage: build
tags:
- sztaki-docker
script:
- mkdocs build --strict --verbose --site-dir html
artifacts:
paths:
- html

0 comments on commit 956a361

Please sign in to comment.