-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use actions-blurry-build in deployment
- Loading branch information
1 parent
83f6e2e
commit ffc82e2
Showing
1 changed file
with
4 additions
and
18 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|