diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 89b1b04..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,22 +0,0 @@ -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 - - name: Build with Jekyll - run: bundle exec jekyll build diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index f175116..b90e169 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -9,6 +9,8 @@ name: Deploy Jekyll site to Pages on: push: branches: ["main"] + paths: + - "docs/**" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -28,6 +30,9 @@ jobs: # Build job build: runs-on: ubuntu-latest + defaults: + run: + working-directory: docs steps: - name: Checkout uses: actions/checkout@v4 @@ -37,6 +42,7 @@ 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: '${{ github.workspace }}/docs' - name: Setup Pages id: pages uses: actions/configure-pages@v5 @@ -48,6 +54,8 @@ jobs: - 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: diff --git a/Choosing-A-License.md b/docs/Choosing-A-License.md similarity index 100% rename from Choosing-A-License.md rename to docs/Choosing-A-License.md diff --git a/Gemfile b/docs/Gemfile similarity index 100% rename from Gemfile rename to docs/Gemfile diff --git a/Gemfile.lock b/docs/Gemfile.lock similarity index 100% rename from Gemfile.lock rename to docs/Gemfile.lock diff --git a/Thunderstore-Guidelines.md b/docs/Thunderstore-Guidelines.md similarity index 100% rename from Thunderstore-Guidelines.md rename to docs/Thunderstore-Guidelines.md diff --git a/Thunderstore-Upload-Howto.md b/docs/Thunderstore-Upload-Howto.md similarity index 100% rename from Thunderstore-Upload-Howto.md rename to docs/Thunderstore-Upload-Howto.md diff --git a/_config.yml b/docs/_config.yml similarity index 83% rename from _config.yml rename to docs/_config.yml index 23341fb..1b452f2 100644 --- a/_config.yml +++ b/docs/_config.yml @@ -1,6 +1,6 @@ title: Lethal Company Modding description: Thunderstore Community -remote_theme: just-the-docs/just-the-docs +theme: just-the-docs color_scheme: dark url: https://just-the-docs.github.io diff --git a/archive/old-guidelines-v1.md b/docs/archive/old-guidelines-v1.md similarity index 100% rename from archive/old-guidelines-v1.md rename to docs/archive/old-guidelines-v1.md diff --git a/attachments/howto/example-mod.zip b/docs/attachments/howto/example-mod.zip similarity index 100% rename from attachments/howto/example-mod.zip rename to docs/attachments/howto/example-mod.zip diff --git a/attachments/howto/modpack.webp b/docs/attachments/howto/modpack.webp similarity index 100% rename from attachments/howto/modpack.webp rename to docs/attachments/howto/modpack.webp diff --git a/attachments/howto/moresuits.webp b/docs/attachments/howto/moresuits.webp similarity index 100% rename from attachments/howto/moresuits.webp rename to docs/attachments/howto/moresuits.webp diff --git a/community-decisions/Referendum-2.md b/docs/community-decisions/Referendum-2.md similarity index 100% rename from community-decisions/Referendum-2.md rename to docs/community-decisions/Referendum-2.md diff --git a/index.md b/docs/index.md similarity index 100% rename from index.md rename to docs/index.md