From ffc82e26c6c6b0c0003cb8844b1ba2ac3246485b Mon Sep 17 00:00:00 2001 From: John Franey <1728528+johnfraney@users.noreply.github.com> Date: Sat, 6 Apr 2024 13:31:40 -0300 Subject: [PATCH] Use actions-blurry-build in deployment --- .github/workflows/deploy.yml | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 895e369..72e3554 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,29 +14,15 @@ jobs: - name: Checkout 🛎️ uses: actions/checkout@v4 - - name: Install poetry - run: pipx install poetry - - - name: Setup Python - uses: actions/setup-python@v5 + - name: Blur site 🌫️ + uses: blurry-dev/actions-blurry-build@main with: - python-version: "3.11" - cache: "poetry" - - - name: Install dependencies - run: | - sudo apt-get update && sudo apt-get install -y ffmpeg imagemagick - - - name: Build 🔧 - run: | - cd docs - poetry install --no-root - poetry run blurry build + site-root: './docs' - name: Deploy to Netlify uses: nwtgck/actions-netlify@v2.0 with: - publish-dir: "./docs/dist" + publish-dir: "${{ github.workspace }}/docs/dist" production-branch: main deploy-message: "Deploy from GitHub Actions" enable-pull-request-comment: false