Skip to content

Commit

Permalink
Debug action
Browse files Browse the repository at this point in the history
  • Loading branch information
kalekseev committed May 3, 2020
1 parent 22d44f5 commit 2c64672
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,22 @@ jobs:
name: weasyprint_output
path: weasyprint_output
- name: Create WeasyPrint Release
id: create_release
if: startsWith(github.ref, 'refs/tags/weasyprint-')
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release WeasyPrint layer
- name: Upload WeasyPrint Layer
id: upload_release_asset
if: startsWith(github.ref, 'refs/tags/weasyprint-')
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./build/weasyprint-layer-python3.8.zip
asset_name: weasyprint-layer-python3.8.zip
asset_content_type: application/zip
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ stack.deploy.weasyprint:
cdk deploy --app ./cdk-stacks/bin/app.js --stack WeasyPrintStack --parameters uploadBucketName=${BUCKET}

test.weasyprint:
docker run --rm -it \
docker run --rm \
-e GDK_PIXBUF_MODULE_FILE="/opt/lib/loaders.cache" \
-e FONTCONFIG_PATH="/opt/fonts" \
-e XDG_DATA_DIRS="/opt/lib" \
Expand Down

0 comments on commit 2c64672

Please sign in to comment.