Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs/docusaurus #324

Merged
merged 21 commits into from Jul 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
63 changes: 43 additions & 20 deletions .github/workflows/deploy_docs_to_github_pages.yml
@@ -1,30 +1,53 @@
name: deploy docs to github pages
name: deploy

on:
push:
branches:
- main
branches: [dev, main]
paths:
- 'documentation/**'

jobs:
deploy:
runs-on: ubuntu-18.04
checks:
if: github.event_name != 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
mdbook-version: 'latest'

- run: mdbook build

- run: cargo doc --document-private-items --no-deps --release
- run: cp -r target/doc book/docs

- name: Deploy
node-version: '12.x'
- name: Test Build
run: |
cd DocOps
if [ -e yarn.lock ]; then
yarn install --frozen-lockfile
elif [ -e package-lock.json ]; then
npm ci
else
npm i
fi
npm run build
gh-release:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Build
run: |
cd DocOps
if [ -e yarn.lock ]; then
yarn install --frozen-lockfile
elif [ -e package-lock.json ]; then
npm ci
else
npm i
fi
npm run build
- name: Release to GitHub Pages
uses: iotaledger/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./book
cname: identity.docs.iota.org
publish_dir: ./DocOps/build
cname: identity-docs.iota.org

This file was deleted.

38 changes: 0 additions & 38 deletions docs/DID Communications Research and Specification/README.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.