Skip to content
Snippets Groups Projects
Commit f5cd6a4e authored by Vojdan Kjorveziroski's avatar Vojdan Kjorveziroski
Browse files

Remove workflows

parent 0b61e87f
Branches
No related tags found
No related merge requests found
name: Publish docs via GitHub Pages
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build:
name: Deploy docs
runs-on: ubuntu-22.04
steps:
- name: Checkout master
uses: actions/checkout@v3
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@1.26
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CUSTOM_DOMAIN: docs.nmaas.eu
EXTRA_PACKAGES: libc-dev libxslt-dev
\ No newline at end of file
image: python:3.9-bookworm
before_script:
- pip install -r requirements.txt
test:
stage: test
script:
- mkdocs build --strict --verbose --site-dir test
artifacts:
paths:
- test
rules:
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
pages:
stage: deploy
script:
- mkdocs build --strict --verbose --site-dir public
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment