diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..26bafc3 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,39 @@ +name: Mkdocs build + +on: + push: + branches: [ master ] + +jobs: + deploy: + runs-on: ubuntu-24.04 + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: 3.x + - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV + - uses: actions/cache@v4 + with: + key: mkdocs-material-${{ env.cache_id }} + path: .cache + restore-keys: | + mkdocs-material- + - run: pip install mkdocs-material + + # Install our SSH key: + - name: Install SSH key + uses: shimataro/ssh-key-action@v2 + if: ${{ github.event_name == 'push' }} + with: + key: ${{ secrets.SSH_PRIVATE_KEY }} + known_hosts: ${{ secrets.SSH_KNOWN_HOST }} + + - name: Build with MkDocs + run: mkdocs build + - name: Rsync deploy + run: | + rsync -r --quiet -e "ssh -p 7685 -o StrictHostKeyChecking=no" \ + site/ \ + u36810p330294@uskyblock.ovh:domains/ultimateskyblock.net/public_html/ diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..39d645a --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +*.class +.settings +.classpath +bin +# Package Files # +*.jar +*.war +*.ear +**/target +/lib +/.classpath +/.project +**/*.iml +**/*~ +.idea +**/*.mo + +*.DS_Store \ No newline at end of file diff --git a/Building.md b/docs/Building.md similarity index 100% rename from Building.md rename to docs/Building.md diff --git a/Challenges.md b/docs/Challenges.md similarity index 100% rename from Challenges.md rename to docs/Challenges.md diff --git a/Coding-Guidelines.md b/docs/Coding-Guidelines.md similarity index 100% rename from Coding-Guidelines.md rename to docs/Coding-Guidelines.md diff --git a/Commands-&-Permissions.md b/docs/Commands-&-Permissions.md similarity index 100% rename from Commands-&-Permissions.md rename to docs/Commands-&-Permissions.md diff --git a/Commands-and-Permissions.md b/docs/Commands-and-Permissions.md similarity index 100% rename from Commands-and-Permissions.md rename to docs/Commands-and-Permissions.md diff --git a/Configuration.md b/docs/Configuration.md similarity index 100% rename from Configuration.md rename to docs/Configuration.md diff --git a/Custom-Island.md b/docs/Custom-Island.md similarity index 100% rename from Custom-Island.md rename to docs/Custom-Island.md diff --git a/Developing-using-IntelliJ-IDEA.md b/docs/Developing-using-IntelliJ-IDEA.md similarity index 100% rename from Developing-using-IntelliJ-IDEA.md rename to docs/Developing-using-IntelliJ-IDEA.md diff --git a/FAQ.md b/docs/FAQ.md similarity index 100% rename from FAQ.md rename to docs/FAQ.md diff --git a/Features.md b/docs/Features.md similarity index 100% rename from Features.md rename to docs/Features.md diff --git a/Installation.md b/docs/Installation.md similarity index 100% rename from Installation.md rename to docs/Installation.md diff --git a/Multiple-use-of-islands.md b/docs/Multiple-use-of-islands.md similarity index 100% rename from Multiple-use-of-islands.md rename to docs/Multiple-use-of-islands.md diff --git a/Nether-and-uSkyBlock.md b/docs/Nether-and-uSkyBlock.md similarity index 100% rename from Nether-and-uSkyBlock.md rename to docs/Nether-and-uSkyBlock.md diff --git a/Release-Management.md b/docs/Release-Management.md similarity index 100% rename from Release-Management.md rename to docs/Release-Management.md diff --git a/Release-Verification.md b/docs/Release-Verification.md similarity index 100% rename from Release-Verification.md rename to docs/Release-Verification.md diff --git a/Roadmap.md b/docs/Roadmap.md similarity index 100% rename from Roadmap.md rename to docs/Roadmap.md diff --git a/SkyGrid.md b/docs/SkyGrid.md similarity index 100% rename from SkyGrid.md rename to docs/SkyGrid.md diff --git a/Test-Cases.md b/docs/Test-Cases.md similarity index 100% rename from Test-Cases.md rename to docs/Test-Cases.md diff --git a/The-use-of-3rd-party-plugins.md b/docs/The-use-of-3rd-party-plugins.md similarity index 100% rename from The-use-of-3rd-party-plugins.md rename to docs/The-use-of-3rd-party-plugins.md diff --git a/Translations.md b/docs/Translations.md similarity index 100% rename from Translations.md rename to docs/Translations.md diff --git a/_Sidebar.md b/docs/_Sidebar.md similarity index 100% rename from _Sidebar.md rename to docs/_Sidebar.md diff --git a/challenges.yml.md b/docs/challenges.yml.md similarity index 100% rename from challenges.yml.md rename to docs/challenges.yml.md diff --git a/commands-in-config.md b/docs/commands-in-config.md similarity index 100% rename from commands-in-config.md rename to docs/commands-in-config.md diff --git a/config.yml.md b/docs/config.yml.md similarity index 100% rename from config.yml.md rename to docs/config.yml.md diff --git a/Home.md b/docs/index.md similarity index 100% rename from Home.md rename to docs/index.md diff --git a/levelConfig.yml.md b/docs/levelConfig.yml.md similarity index 100% rename from levelConfig.yml.md rename to docs/levelConfig.yml.md diff --git a/uSkyBlock-API.md b/docs/uSkyBlock-API.md similarity index 100% rename from uSkyBlock-API.md rename to docs/uSkyBlock-API.md diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 0000000..9e49988 --- /dev/null +++ b/mkdocs.yml @@ -0,0 +1,4 @@ +site_name: Ultimate Skyblock +site_url: https://ultimateskyblock.net/ +theme: + name: material \ No newline at end of file