Skip to content

Commit

Permalink
Implement CICD
Browse files Browse the repository at this point in the history
  • Loading branch information
cvetty committed Jun 28, 2024
1 parent e3f48c5 commit 2445b34
Show file tree
Hide file tree
Showing 43 changed files with 57 additions and 7,777 deletions.
26 changes: 0 additions & 26 deletions .github/pull_request_template.md

This file was deleted.

54 changes: 0 additions & 54 deletions .github/workflows/draft-release.yml

This file was deleted.

115 changes: 0 additions & 115 deletions .github/workflows/pre-release.yml

This file was deleted.

55 changes: 55 additions & 0 deletions .github/workflows/publish_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Publish Docs

on:
push:
branches: docs

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
name: Build
runs-on: ubuntu-20.04
steps:
- name: Checkout the repository
uses: actions/checkout@v4
with:
ref: docs

- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
architecture: x64

- name: Install requirements
run: python3 -m pip install mkdocs

- name: Build the assets
run: python3 -m mkdocs build

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: site

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-20.04
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
site
113 changes: 0 additions & 113 deletions site/404.html

This file was deleted.

Loading

0 comments on commit 2445b34

Please sign in to comment.