Skip to content
Snippets Groups Projects

Update makefile to use poetry

Merged Ciarán Ainsworth requested to merge fix-makefile into main
Files
2
+ 4
4
@@ -21,9 +21,9 @@ lint-jinja:
@@ -21,9 +21,9 @@ lint-jinja:
image: alpine:3.19
image: alpine:3.19
stage: lint
stage: lint
before_script:
before_script:
- apk add poetry py3-pip
- apk add poetry py3-pip make
script:
script:
- poetry install
- make install
- poetry run djlint theme/funkwhale/templates --check --lint --profile=jinja
- poetry run djlint theme/funkwhale/templates --check --lint --profile=jinja
build:
build:
@@ -34,7 +34,7 @@ build:
@@ -34,7 +34,7 @@ build:
before_script:
before_script:
- apk add make poetry py3-pip
- apk add make poetry py3-pip
script:
script:
- poetry install
- make install
- poetry run pelican content -e SITEURL='"'${SITEURL}'"' OUTPUT_PATH='"public/"'
- poetry run pelican content -e SITEURL='"'${SITEURL}'"' OUTPUT_PATH='"public/"'
artifacts:
artifacts:
paths:
paths:
@@ -60,5 +60,5 @@ deploy:
@@ -60,5 +60,5 @@ deploy:
script:
script:
- eval `ssh-agent -s`
- eval `ssh-agent -s`
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- poetry install
- make install
- make ssh_upload
- make ssh_upload
Loading