From 27fe70a48bfe6cf1d23d2df1c0ab3e4aeb9f6ea2 Mon Sep 17 00:00:00 2001 From: Castedo Ellerman Date: Fri, 16 Aug 2024 13:54:18 +0000 Subject: [PATCH] update starter template to v7 action --- .github/workflows/baseprinter.yaml | 18 +++++++++++++----- baseprinter-xargs.txt | 3 +++ 2 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 baseprinter-xargs.txt diff --git a/.github/workflows/baseprinter.yaml b/.github/workflows/baseprinter.yaml index 2674365..dcddf03 100644 --- a/.github/workflows/baseprinter.yaml +++ b/.github/workflows/baseprinter.yaml @@ -16,18 +16,26 @@ permissions: jobs: build: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - - uses: castedo/baseprinter-action@v5 + - name: "Generate baseprint into autobaseprint branch and deploy preview to GitHub Pages" + uses: castedo/baseprinter-action@v7 with: - defaults-file: "pandocin.yaml" + xargs-input: baseprinter-xargs.txt + # do not use baseprint-path in sources + # baseprint snapshot contents will be automatically stored here + # on the autobaseprint branch + baseprint-path: baseprint + - uses: actions/upload-pages-artifact@v3 + with: + path: _site deploy: needs: build - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: "Deploy to GitHub Pages" id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4 environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} diff --git a/baseprinter-xargs.txt b/baseprinter-xargs.txt new file mode 100644 index 0000000..6dba460 --- /dev/null +++ b/baseprinter-xargs.txt @@ -0,0 +1,3 @@ +--defaults pandocin.yaml +--baseprint baseprint +--outdir _site