Skip to content

Commit

Permalink
Move docs to automatically run workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nielstron committed Aug 23, 2024
1 parent 6c3e326 commit 2f20601
Show file tree
Hide file tree
Showing 70 changed files with 37 additions and 56,332 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build and Deploy Docs

on:
push:
branches:
- dev

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install Dependencies
run: |
python -m pip install --upgrade pip
shell: bash

- name: Build documentation
run: |
chmod +x ./build_docs.sh
./build_docs.sh
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
publish_branch: gh-pages
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ build/
*.uplc
*.cbor
*.plutus
docs/opshin
docs/index.js
docs/doc-search.html
# Created by https://www.toptal.com/developers/gitignore/api/python,pycharm+all
# Edit at https://www.toptal.com/developers/gitignore?templates=python,pycharm+all

Expand Down
198 changes: 0 additions & 198 deletions docs/doc-search.html

This file was deleted.

1 change: 0 additions & 1 deletion docs/index.js

This file was deleted.

Loading

0 comments on commit 2f20601

Please sign in to comment.