Skip to content

Commit ada5ae1

Browse files
authored
Merge pull request #32 from chipspeak/GUIDEFRAME-46
task(GUIDEFRAME-46): updating docs workflows
2 parents aeefd10 + b3be09a commit ada5ae1

6 files changed

Lines changed: 26 additions & 8 deletions

File tree

.DS_Store

0 Bytes
Binary file not shown.

.github/workflows/ci.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
8+
jobs:
9+
# Build job
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
- name: Setup Ruby
16+
uses: ruby/setup-ruby@v1
17+
with:
18+
ruby-version: '3.3' # Not needed with a .ruby-version file
19+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
20+
cache-version: 0 # Increment this number if you need to re-download cached gems
21+
working-directory: docs
22+
- name: Build with Jekyll
23+
run: bundle exec jekyll build

.github/workflows/pages.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ name: Deploy Jekyll site to Pages
88

99
on:
1010
push:
11-
branches:
12-
- "main"
13-
paths:
14-
- "docs/**"
11+
branches: ["main"]
1512

1613
# Allows you to run this workflow manually from the Actions tab
1714
workflow_dispatch:
@@ -40,7 +37,6 @@ jobs:
4037
ruby-version: '3.3' # Not needed with a .ruby-version file
4138
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
4239
cache-version: 0 # Increment this number if you need to re-download cached gems
43-
woking-directory: '${{ github.workspace }}/docs'
4440
- name: Setup Pages
4541
id: pages
4642
uses: actions/configure-pages@v5
@@ -52,7 +48,6 @@ jobs:
5248
- name: Upload artifact
5349
# Automatically uploads an artifact from the './_site' directory by default
5450
uses: actions/upload-pages-artifact@v3
55-
with: docs/_site/
5651

5752
# Deployment job
5853
deploy:

docs/.nojekyll

Whitespace-only changes.

docs/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ gem "jekyll", "~> 4.4.1" # installed by `gem jekyll`
44
# gem "webrick" # required when using Ruby >= 3 and Jekyll <= 4.2.2
55

66
gem "just-the-docs", "0.10.1" # pinned to the current release
7-
# gem "just-the-docs" # always download the latest release
7+
# gem "just-the-docs" # always download the latest release

docs/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,4 @@ DEPENDENCIES
9494
just-the-docs (= 0.10.1)
9595

9696
BUNDLED WITH
97-
2.5.9
97+
2.5.9

0 commit comments

Comments
 (0)