Skip to content

Commit

Permalink
update starter template to v7 action
Browse files Browse the repository at this point in the history
  • Loading branch information
castedo committed Aug 16, 2024
1 parent b7f2ab0 commit 27fe70a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/baseprinter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
3 changes: 3 additions & 0 deletions baseprinter-xargs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
--defaults pandocin.yaml
--baseprint baseprint
--outdir _site

0 comments on commit 27fe70a

Please sign in to comment.