From e1c1565a7c980b6014d61986df62f418211e88ee Mon Sep 17 00:00:00 2001 From: Natanael Arndt Date: Sun, 4 Aug 2024 12:29:15 +0200 Subject: [PATCH] Introduce jekyll build step --- .github/workflows/main.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 8f57e02..7c6e0a1 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -28,10 +28,15 @@ jobs: uses: borales/actions-yarn@v4 with: cmd: build # will run `yarn build` command - - run: mv dist master/docs/pad + - name: Build page + uses: actions/jekyll-build-pages@v1 + with: + source: master/docs + destination: _site + - run: mv dist _site/pad - name: Deploy 🚀 uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./master/docs + publish_dir: _site publish_branch: gh-pages