From fdc4146eafee3542f02270e6da506e57e0f6023c Mon Sep 17 00:00:00 2001 From: Castedo Ellerman Date: Sat, 2 Dec 2023 17:15:19 -0500 Subject: [PATCH] minimal pandocin.yaml and init test for new action --- .github/workflows/baseprinter.yaml | 31 ++++++++++++++++++++++++++++++ pandocin.yaml | 4 ++++ 2 files changed, 35 insertions(+) create mode 100644 .github/workflows/baseprinter.yaml create mode 100644 pandocin.yaml diff --git a/.github/workflows/baseprinter.yaml b/.github/workflows/baseprinter.yaml new file mode 100644 index 0000000..df60d16 --- /dev/null +++ b/.github/workflows/baseprinter.yaml @@ -0,0 +1,31 @@ +name: Deploy baseprint preview to GitHub Pages + +on: + push: + branches: [$default-branch] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Grant GITHUB_TOKEN the permissions required to make a Pages deployment +permissions: + pages: write + id-token: write + +jobs: + build: + runs-on: ubuntu-22.04 + steps: + - uses: castedo/baseprinter-action + with: + defaults-file: "pandocin.yaml" + deploy: + needs: build + runs-on: ubuntu-22.04 + steps: + - name: "Deploy to GitHub Pages" + id: deployment + uses: actions/deploy-pages@v2 + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} diff --git a/pandocin.yaml b/pandocin.yaml new file mode 100644 index 0000000..32792ba --- /dev/null +++ b/pandocin.yaml @@ -0,0 +1,4 @@ +# Reference https://pandoc.org/MANUAL.html#defaults-files + +# Change "/dev/null" to the name of a new input source file: +input-file: "/dev/null"