Skip to content

Commit

Permalink
Messy commit
Browse files Browse the repository at this point in the history
  • Loading branch information
redtide committed Dec 24, 2023
1 parent 658ad0a commit 489ac4b
Show file tree
Hide file tree
Showing 497 changed files with 2,044 additions and 2,726 deletions.
53 changes: 26 additions & 27 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,38 @@
name: Deploy Site

name: Deploy site
on: [push]

jobs:
build-website:
name: Website build
deploy:
name: Linux Ubuntu 22.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v2
uses: actions/checkout@v3
with:
node-version: '14'
cache: 'yarn'
- name: Install ruby
uses: ruby/setup-ruby@v1
fetch-depth: 0 # needed for accurate dates and blog plugin
- name: Install Python
uses: actions/setup-python@v4
with:
ruby-version: 2.7
bundler-cache: true
- name: Generate assets
run: yarn --no-bin-links && yarn dist
- name: Build fork
if: ${{ github.repository_owner != 'sfzformat' }}
run: |
bundle exec jekyll build \
--destination public/ \
--baseurl "/$(echo '${{ github.repository }}' | cut -d/ -f2)"
- name: Build sfzformat
if: ${{ github.repository_owner == 'sfzformat' }}
run: bundle exec jekyll build --destination public/
python-version: 3.x
- name: Install Poetry
run: python3 -m pip install --upgrade poetry
- name: Cache build data
uses: actions/cache@v3
with:
key: mkdocs-cache-${{ runner.os }}-${{ hashFiles('**/poetry.lock', '**/mkdocs.yml') }}
path: .cache
- name: Install dependencies
run: poetry install
- name: Download assets
run: poetry run python3 scripts/assets/download.py
- name: Build assets
run: poetry run python3 scripts/assets/uglify.py
- name: Build site
run: poetry run mkdocs build
- name: Upload to GitHub pages
if: ${{ github.ref_name == 'source' && github.event_name != 'pull_request' }}
if: github.ref_name == 'source' && github.event_name != 'pull_request'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: www
publish_dir: ./public
publish_dir: ./_site
force_orphan: true
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
/.bootstrap/
/_site/

# fork-awesome
/docs/assets/fonts/

# fontawesome
/docs/assets/webfonts/

/docs/info.md
__pycache__/
node_modules
109 changes: 0 additions & 109 deletions _includes/anchor_headings.liquid

This file was deleted.

27 changes: 0 additions & 27 deletions _includes/cards.liquid

This file was deleted.

19 changes: 0 additions & 19 deletions _includes/custom-scripts.html

This file was deleted.

16 changes: 0 additions & 16 deletions _includes/custom-styles.html

This file was deleted.

10 changes: 0 additions & 10 deletions _includes/favicons.liquid

This file was deleted.

8 changes: 0 additions & 8 deletions _includes/footer.liquid

This file was deleted.

37 changes: 0 additions & 37 deletions _includes/head.liquid

This file was deleted.

1 change: 0 additions & 1 deletion _includes/header.liquid

This file was deleted.

19 changes: 0 additions & 19 deletions _includes/lightbox_gallery.liquid

This file was deleted.

Loading

0 comments on commit 489ac4b

Please sign in to comment.