chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
## Description
|
||||
|
||||
Please provide a brief description of your contribution:
|
||||
|
||||
## Checklist
|
||||
|
||||
Please make sure your PR meets the following requirements:
|
||||
|
||||
- [ ] The tool should have a minimum of 1000 stars on GitHub.
|
||||
- [ ] The tool should not be listed in more than one section.
|
||||
- [ ] The tool should not be archived and must have been actively maintained within the last 12 months.
|
||||
- [ ] Ensure that all contributions are listed in alphabetical order within their respective sections.
|
||||
|
||||
---
|
||||
|
||||
Thank you for your contribution! If you have any questions, please open an issue for discussion.
|
||||
@@ -0,0 +1,38 @@
|
||||
# .github/workflows/convert-to-pdf.yml
|
||||
|
||||
name: Docs to PDF
|
||||
# This workflow is triggered on pushes to the repository.
|
||||
on:
|
||||
# uncomment the next line to test manually.
|
||||
workflow_dispatch: {}
|
||||
schedule:
|
||||
# release on the first day of each month
|
||||
- cron: "0 0 1 * *"
|
||||
|
||||
jobs:
|
||||
converttopdf:
|
||||
name: build-release-pdf
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- id: today
|
||||
run: echo "name=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
||||
- uses: actions/checkout@v3
|
||||
- uses: EthicalML/markdown-to-pdf@v1
|
||||
with:
|
||||
input_path: README.md
|
||||
output_dir: pdfs
|
||||
images_dir: images
|
||||
image_import: images
|
||||
# Default is true, can set to false to only get PDF files
|
||||
build_html: false
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: release
|
||||
path: pdfs
|
||||
- uses: "EthicalML/action-automatic-releases@latest"
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
automatic_release_tag: release-${{ env.name }}
|
||||
title: release-${{ env.name }}
|
||||
files: pdfs/README.pdf
|
||||
prerelease: false
|
||||
Reference in New Issue
Block a user