Skip to content

Commit

Permalink
Use actions-blurry-build in deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
johnfraney committed Apr 6, 2024
1 parent 83f6e2e commit ffc82e2
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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
Expand Down

0 comments on commit ffc82e2

Please sign in to comment.