diff --git a/.DS_Store b/.DS_Store index 83fd82b..6d0c995 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..2798504 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,23 @@ +name: CI + +on: + push: + branches: ["main"] + pull_request: + +jobs: + # Build job + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Ruby + uses: ruby/setup-ruby@v1 + with: + 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: docs + - name: Build with Jekyll + run: bundle exec jekyll build \ No newline at end of file diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml index ce7363e..1c82b64 100644 --- a/.github/workflows/pages.yaml +++ b/.github/workflows/pages.yaml @@ -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: @@ -40,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 - woking-directory: '${{ github.workspace }}/docs' - name: Setup Pages id: pages uses: actions/configure-pages@v5 @@ -52,7 +48,6 @@ jobs: - name: Upload artifact # Automatically uploads an artifact from the './_site' directory by default uses: actions/upload-pages-artifact@v3 - with: docs/_site/ # Deployment job deploy: diff --git a/docs/.nojekyll b/docs/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/docs/Gemfile b/docs/Gemfile index fb982b7..9dc0c75 100644 --- a/docs/Gemfile +++ b/docs/Gemfile @@ -4,4 +4,4 @@ gem "jekyll", "~> 4.4.1" # installed by `gem jekyll` # gem "webrick" # required when using Ruby >= 3 and Jekyll <= 4.2.2 gem "just-the-docs", "0.10.1" # pinned to the current release -# gem "just-the-docs" # always download the latest release +# gem "just-the-docs" # always download the latest release \ No newline at end of file diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock index 2052fe4..8e90359 100644 --- a/docs/Gemfile.lock +++ b/docs/Gemfile.lock @@ -94,4 +94,4 @@ DEPENDENCIES just-the-docs (= 0.10.1) BUNDLED WITH - 2.5.9 + 2.5.9 \ No newline at end of file