diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d5fc858..6f0ff0d 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,19 +17,12 @@ concurrency: jobs: build: - runs-on: ubuntu-latest - steps: - name: Checkout uses: actions/checkout@v4 - name: Setup Pages uses: actions/configure-pages@v5 - - - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - - uses: actions/setup-python@v5 with: python-version: "3.10" @@ -41,15 +34,9 @@ jobs: run: poetry install - name: Build site run: poetry run mkdocs build -d _site + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 - - uses: actions/checkout@v4 - - name: Build the site in the jekyll/builder container - run: | - docker run \ - -v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \ - jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future" - - # Deployment job deploy: environment: name: github-pages