Skip to content

Commit

Permalink
Merge pull request #22 from abacef/gh-pages
Browse files Browse the repository at this point in the history
Refactoring to use mkdocs
  • Loading branch information
infrared0 authored Jul 19, 2024
2 parents 2ec2a76 + 691c77e commit c1d5b80
Show file tree
Hide file tree
Showing 70 changed files with 220 additions and 907 deletions.
1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Deploy MkDocs to GitHub Pages

on:
push:
branches:
- gh-pages-src

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetch all history for all tags and branches

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: |
git checkout gh-pages-src
pip install -r requirements.txt
- name: Build and deploy
run: |
mkdocs build
git config user.name "Juice Brenner Build Bot"
git config user.email "seattlecommunitynetwork.org"
git checkout gh-pages
git add --all
git stash
rm -rf *
git stash pop
mv site/* .
rm -r site
git add --all
git commit -m "Yet another automated deployment"
git push
8 changes: 1 addition & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
_site
.sass-cache
.jekyll-cache
.jekyll-metadata
vendor
.swp
.DS_Store
venv
Empty file removed .gitmodules
Empty file.
228 changes: 0 additions & 228 deletions 404.html

This file was deleted.

1 change: 0 additions & 1 deletion CNAME

This file was deleted.

31 changes: 0 additions & 31 deletions Gemfile

This file was deleted.

Loading

0 comments on commit c1d5b80

Please sign in to comment.