File tree Expand file tree Collapse file tree 4 files changed +25
-22
lines changed Expand file tree Collapse file tree 4 files changed +25
-22
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ WORKDIR /app
1111RUN apt-get update && apt-get install -y \
1212 git \
1313 curl \
14+ jq \
15+ awscli \
1416 && apt-get clean \
1517 && rm -rf /var/lib/apt/lists/* \
1618 # Install PDM
@@ -26,7 +28,7 @@ RUN set -eux; \
2628 rm /tmp/s3deploy.tar.gz
2729
2830# Copy the pyproject.toml and pdm.lock files
29- COPY pyproject.toml pdm.lock* util /app/
31+ COPY pyproject.toml pdm.lock* /app/
3032
3133# Install the dependencies
3234RUN pdm install --prod --no-self
Original file line number Diff line number Diff line change @@ -21,11 +21,12 @@ phases:
2121 - export LANGUAGE="en_US.UTF-8"
2222 build :
2323 commands :
24- - bundler exec jekyll build --trace
24+ - ls -la
25+ - pdm run pelican html
2526 post_build :
2627 commands :
2728 - aws s3 cp webmentions-cache s3://org.dltj.webmentions-cache --recursive
28- - cp ./assets/js/JekyllWebmentionIO.js _site /assets/js/JekyllWebmentionIO.js
29+ - cp ./assets/js/JekyllWebmentionIO.js output /assets/js/JekyllWebmentionIO.js
2930 # - aws s3 sync --delete --size-only --cache-control max-age=7201 _site/ "s3://${BUCKET_NAME}"
30- - s3deploy -bucket org.dltj.blog -region us-east-1 -source _site / -distribution-id ${DISTRIBUTION_ID} -key $AWS_ACCESS_KEY_ID -secret $AWS_SECRET_ACCESS_KEY
31+ - s3deploy -bucket org.dltj.blog -region us-east-1 -source output / -distribution-id ${DISTRIBUTION_ID} -key $AWS_ACCESS_KEY_ID -secret $AWS_SECRET_ACCESS_KEY
3132 - aws s3api put-bucket-website --bucket "${BUCKET_NAME}" --website-configuration file://s3-website-config.json
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ dependencies = [
99 " pelican[markdown] @ git+https://github.com/dltj/pelican.git" ,
1010 " pelican-jinja2content @ git+https://github.com/pelican-plugins/jinja2content.git" ,
1111 " pelican-yaml-metadata @ git+https://github.com/pelican-plugins/yaml-metadata.git" ,
12- " pelican-dltj-plugin @ git+https://github.com/dltj/pelican-dltj-plugin.git" ,
1312 " zygote-reader @ git+https://github.com/dltj/zygote-reader" ,
13+ " dltj-plugin @ git+https://github.com/dltj/pelican-dltj-plugin.git" ,
1414]
15- requires-python = " ==3.12.* "
15+ requires-python = " ==3.12.7 "
1616readme = " README.md"
1717license = {text = " MIT" }
1818
You can’t perform that action at this time.
0 commit comments