commit 2e3eb11d2c06d27da78260cc17a3a99f95042f29 parent 78495490b2ffdc333166008a22c8a8a56de5ac6c Author: michaelneuper <michael@michaelneuper.com> Date: Tue, 27 May 2025 12:11:22 +0200 attempt 198374 Diffstat:
| M | .github/workflows/publish.yml | | | 29 | +++++++++++++++++------------ |
1 file changed, 17 insertions(+), 12 deletions(-)
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml @@ -1,16 +1,21 @@ -name: "Export" -on: [push] +name: Publish Org Config + +on: + push: + branches: + - main # or your default branch jobs: - export: + publish: runs-on: ubuntu-latest - - name: Checkout - uses: actions/checkout@v2 + steps: + - name: Checkout Repository + uses: actions/checkout@v3 -- name: Export Org files to GitHub Pages - uses: tecosaur/org-knit-action@v0.3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: gh-pages - # add PDFs - # export: html, pdf + - name: Export Org Files + uses: tecosaur/org-knit-action@v0.3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: gh-pages + export: html + files: config.org