Skip to content

Commit

Permalink
Merge pull request #96 from risk-first/docusaurus
Browse files Browse the repository at this point in the history
Docusaurus
  • Loading branch information
robmoffat authored Feb 10, 2024
2 parents 0c82fb3 + f598e27 commit 7e8070c
Show file tree
Hide file tree
Showing 1,654 changed files with 11,252 additions and 8,223 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Deploy to GitHub Pages

on:
push:
branches:
- main
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on

permissions:
contents: write

jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn

- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build website
run: yarn build

# Popular action to deploy to GitHub Pages:
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Build output to publish to the `gh-pages` branch:
publish_dir: ./build
# The following lines assign commit authorship to the official
# GH-Actions bot for deploys to `gh-pages` branch:
# https://github.com/actions/checkout/issues/13#issuecomment-724415212
# The GH actions bot is used by default if you didn't specify the two fields.
# You can swap them out with your own user credentials.
user_name: github-actions[bot]
user_email: 41898282+github-actions[bot]@users.noreply.github.com
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
folder-path: '., bets, complexity, estimating, misc, overview, risks, thinking'
folder-path: 'docs'
max-depth: 1
use-quiet-mode: yes
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,25 @@ twitter4j.properties
_site
/.sass-cache
.jekyll-cache

# Dependencies
/node_modules

# Production
/build

# Generated files
.docusaurus
.cache-loader

# Misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

82 changes: 0 additions & 82 deletions _config.yml

This file was deleted.

25 changes: 0 additions & 25 deletions _includes/pagination.html

This file was deleted.

30 changes: 0 additions & 30 deletions _includes/postbox.html

This file was deleted.

21 changes: 0 additions & 21 deletions _includes/search-lunr.html

This file was deleted.

5 changes: 0 additions & 5 deletions _includes/share.html

This file was deleted.

87 changes: 0 additions & 87 deletions _includes/toc.html

This file was deleted.

52 changes: 0 additions & 52 deletions _includes/trail.html

This file was deleted.

Loading

0 comments on commit 7e8070c

Please sign in to comment.