Skip to content

Commit 170a59d

Browse files
committed
Move site into site directory
1 parent 8fa38e5 commit 170a59d

32 files changed

Lines changed: 10 additions & 1 deletion

.github/workflows/jekyll.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
# Runs on pushes targeting the default branch
66
push:
77
branches: ["main"]
8+
paths: ["site/**"]
89

910
# Allows you to run this workflow manually from the Actions tab
1011
workflow_dispatch:
@@ -22,6 +23,9 @@ concurrency:
2223
jobs:
2324
# Build job
2425
build:
26+
defaults:
27+
run:
28+
working-directory: ./site
2529
runs-on: ubuntu-latest
2630
steps:
2731
- name: Checkout
@@ -32,6 +36,7 @@ jobs:
3236
ruby-version: '3.3.5'
3337
bundler-cache: true
3438
cache-version: 0
39+
working-directory: ./site
3540
- name: Build
3641
run: bundle exec jekyll build
3742
env:
@@ -40,7 +45,7 @@ jobs:
4045
uses: actions/upload-artifact@v4
4146
with:
4247
name: site
43-
path: _site
48+
path: site/_site
4449
overwrite: true
4550

4651
# Push job

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,17 @@ Follow steps:
1414
### Bundle installation
1515

1616
```shell
17+
cd site
1718
bundle config set --local path 'vendor/bundle'
1819
bundle install
1920
```
2021

2122
### Build and serve the site
2223

2324
```shell
25+
# change directory to site
26+
cd site
27+
2428
# just build the website
2529
bundle exec jekyll build
2630

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)