Skip to content

Commit

Permalink
feat: set up docs site
Browse files Browse the repository at this point in the history
  • Loading branch information
themightychris committed Jan 31, 2021
1 parent cdcba3e commit e9afc4b
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Publish Website

on:
push:
branches: [ develop ]

jobs:
publish-website:
runs-on: ubuntu-latest
steps:
- name: 'Update holobranch: gh-pages'
uses: JarvusInnovations/hologit@actions/projector/v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HAB_LICENSE: accept
with:
holobranch: docs-site
commit-to: gh-pages
5 changes: 5 additions & 0 deletions .holo/branches/docs-site/_laddr.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[holomapping]
files = [
"docs/**",
"mkdocs.*.yml"
]
4 changes: 4 additions & 0 deletions .holo/branches/docs-site/_skeleton-v2.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[holomapping]
holosource="=>docs-skeleton"
files = "**"
before = "*"
1 change: 1 addition & 0 deletions .holo/branches/emergence-site/_skeleton-v2.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[holomapping]
holosource="=>emergence-skeleton"
files = [
"*/**",
"!php-config/Git.config.d/"
Expand Down
2 changes: 1 addition & 1 deletion .holo/sources/skeleton-v2.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[holosource]
url = "https://github.com/JarvusInnovations/emergence-skeleton-v2"
ref = "refs/heads/emergence/skeleton/v2"
ref = "refs/tags/v2.5.2"
File renamed without changes.
4 changes: 4 additions & 0 deletions mkdocs.site.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
site_name: laddr documentation
repo_url: https://github.com/CodeForPhilly/laddr
site_url: https://codeforphilly.github.io/laddr
edit_uri: edit/develop/docs

0 comments on commit e9afc4b

Please sign in to comment.