Skip to content

Commit

Permalink
Update deploy-github-pages.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Raydo M <[email protected]>
  • Loading branch information
burnt-exe authored Aug 29, 2024
1 parent e6be48d commit 68d05c9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/deploy-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 68d05c9

Please sign in to comment.