Skip to content

Commit

Permalink
clean for theme creation
Browse files Browse the repository at this point in the history
  • Loading branch information
nadarbreicq committed Jul 3, 2024
1 parent 43d384c commit 5c66579
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 343 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ jobs:
# Build job
build:
runs-on: ubuntu-latest
env:
working-directory: ./docs
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -20,7 +18,5 @@ jobs:
ruby-version: '3.3' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
working-directory: ${{env.working-directory}}
- name: Build with Jekyll
run: bundle exec jekyll build
working-directory: ${{env.working-directory}}
run: bundle exec jekyll build
11 changes: 1 addition & 10 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ name: Deploy Jekyll site to Pages

on:
push:
branches:
- "main"
paths:
- "docs/**"
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -31,8 +28,6 @@ jobs:
# Build job
build:
runs-on: ubuntu-latest
env:
working-directory: ./docs
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -42,7 +37,6 @@ jobs:
ruby-version: '3.3' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
working-directory: ${{env.working-directory}}
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
Expand All @@ -51,12 +45,9 @@ jobs:
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
working-directory: ${{env.working-directory}}
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3
with:
path: "docs/_site/"

# Deployment job
deploy:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Gemfile.lock
_site/
.sass-cache/
.jekyll-cache/
Expand Down
File renamed without changes.
4 changes: 0 additions & 4 deletions docs/_config.yml → _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,3 @@ theme: just-the-docs
url: https://github.com/Makerspace-Amiens/CraftTheDocs-V1.0

color_scheme: custom_scheme

# Include custom CSS
sass:
sass_dir: _sass
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
277 changes: 0 additions & 277 deletions docs/Gemfile.lock

This file was deleted.

Loading

0 comments on commit 5c66579

Please sign in to comment.