Skip to content

fix: Fix contact informa;tion #6

fix: Fix contact informa;tion

fix: Fix contact informa;tion #6

name: Release
on:
push:
branches:
- main
permissions:
contents: write
pages: write
id-token: write
jobs:
pages:
runs-on: ubuntu-latest
environment:
name: Development
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 21
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y python3-pip python3-venv
npm install @semantic-release/[email protected]
npm install @semantic-release/[email protected]
npm install @semantic-release/[email protected]
npm install @semantic-release/[email protected]
npm install @saithodev/[email protected]
- name: Make release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: npx semantic-release --debug
- name: Create documentation
run: |
python3 -m venv venv
source venv/bin/activate
pip install flask
pip install flask_cors
pip install sphinx
pip install sphinx_rtd_theme
pip install sphinx-mdinclude
cd docs && make html && cd ..
mkdir public
mv docs/build/html/* public/
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4