Add filters from SoMuchToGrok/email-sieves #35
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
--- | |
name: Compile And Publish Page | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
Compile-And-Publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: mkdir public && cat .github/workflows/header.md filters/* > public/index.md | |
- run: wget https://raw.githubusercontent.com/ekalinin/github-markdown-toc/master/gh-md-toc && chmod a+x gh-md-toc | |
- run: ./gh-md-toc --insert public/index.md | |
- name: Converts Markdown to HTML | |
uses: jaywcjlove/markdown-to-html-cli@main | |
with: | |
source: public/index.md | |
output: public/index.html | |
github-corners: https://github.com/LoricAndre/awesome-sieve-filters | |
dark-mode: false | |
description: Awesome Sieve Filters | |
- run: sed -z -i 's;<head>;<head><title>Awesome Sieve Filters</title>;' public/index.html | |
- name: Publish | |
uses: rdok/publish-gh-page-action@v1.2.2 | |
with: | |
directory: public |