Skip to content

Commit 3df9ef3

Browse files
committed
Move site into site directory
1 parent 9ab6cde commit 3df9ef3

33 files changed

+10
-76
lines changed

.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

rfc/draft-jsonlines-standard_mime_type.md

Lines changed: 0 additions & 73 deletions
This file was deleted.
File renamed without changes.

CNAME renamed to site/CNAME

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

_data/menu.yml renamed to site/_data/menu.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,5 @@ items:
77
url: '/validator/'
88
- label: 'On the web'
99
url: '/on_the_web/'
10-
- label: 'Internet Draft'
11-
url: '/rfc/draft-jsonlines-standard_mime_type.html'
1210
- label: 'json.org'
1311
url: 'https://json.org'
File renamed without changes.

0 commit comments

Comments
 (0)