Fix website URL in README #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a basic workflow to help you get started with Actions | |
name: Pages | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push events but only for the "deploy" branch | |
push: | |
branches: [ "main" ] | |
permissions: | |
contents: write | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build-and-deploy: | |
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession. | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
# Runs a set of commands using the runners shell | |
- name: Build | |
run: | | |
sudo apt-get install -y python3-pip | |
pip3 install --upgrade -r requirements.txt | |
sh -x ./build-docs | |
mv build public | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: public # The folder the action should deploy. |