Skip to content

Upgrade Github actions config #39

Upgrade Github actions config

Upgrade Github actions config #39

Workflow file for this run

name: Pandoc Document Converter
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Pandoc build
uses: docker://pandoc/core:2.9
with:
args: readme.md --standalone --css=assets/main.css --metadata pagetitle="Bookmarklets" --output=docs/index.html
- run: |
cp assets/main.css docs/main.css
sed -i -e 's/<!--//g' docs/index.html
sed -i -e 's/-->//g' docs/index.html
- name: Add & Commit
uses: EndBug/add-and-commit@v4.1.0
with:
message: 'update site content from sources'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}