From 68d05c9699a4417bd75d1961592d3cbca0dbaae1 Mon Sep 17 00:00:00 2001 From: Raydo M <126121348+burnt-exe@users.noreply.github.com> Date: Thu, 29 Aug 2024 23:44:29 +0200 Subject: [PATCH] Update deploy-github-pages.yml Signed-off-by: Raydo M <126121348+burnt-exe@users.noreply.github.com> --- .github/workflows/deploy-github-pages.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/deploy-github-pages.yml b/.github/workflows/deploy-github-pages.yml index d0fe874a..f5dc5750 100644 --- a/.github/workflows/deploy-github-pages.yml +++ b/.github/workflows/deploy-github-pages.yml @@ -26,6 +26,14 @@ jobs: node-version: '16.x' cache: 'npm' + - name: Create missing directories and files + run: | + mkdir -p ./backend + mkdir -p ./jekyll + touch ./jekyll/Gemfile + touch ./jekyll/_config.yml + # This will ensure the directories and essential files are present + - name: Install dependencies run: | npm install @@ -38,12 +46,14 @@ jobs: - name: Install Jekyll dependencies run: bundle install + working-directory: ./jekyll - name: Setup Pages uses: actions/configure-pages@v4 - name: Build with Jekyll run: bundle exec jekyll build + working-directory: ./jekyll - name: Upload artifact uses: actions/upload-pages-artifact@v3