diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index e39419cf3..9451c2130 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -7,15 +7,18 @@ jobs: - name: Checkout 📥 uses: actions/checkout@v2.3.4 - - name: Install and Build 🔧 + - name: Install dependencies 🐄 run: | sudo apt-get -y update sudo apt-get -y install python3-pip pip install mkdocs-material pygments==2.8.1 mkdocs-redirects - mkdocs build --verbose --clean + + - name: Build site 🔧 + run: | + mkdocs build --verbose --clean - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@4.1.1 with: branch: gh-pages # The branch the action should deploy to. - folder: . # The folder the action should deploy. + folder: docs # The folder the action should deploy.