Skip to content

Commit

Permalink
Mkdocs plz?
Browse files Browse the repository at this point in the history
unknown committed Dec 29, 2024

Unverified

No user is associated with the committer email.
1 parent c8c51f2 commit d16b4fb
Showing 30 changed files with 61 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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/ \
[email protected]:domains/ultimateskyblock.net/public_html/
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
*.class
.settings
.classpath
bin
# Package Files #
*.jar
*.war
*.ear
**/target
/lib
/.classpath
/.project
**/*.iml
**/*~
.idea
**/*.mo

*.DS_Store
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
site_name: Ultimate Skyblock
site_url: https://ultimateskyblock.net/
theme:
name: material

0 comments on commit d16b4fb

Please sign in to comment.