Skip to content

Commit

Permalink
Migrate docs to Docusaurus
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar committed Nov 9, 2024
1 parent 20f035a commit 45042a1
Show file tree
Hide file tree
Showing 88 changed files with 18,863 additions and 4,814 deletions.
35 changes: 34 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ on:
push:
pull_request:
branches:
- master
- docusaurus

jobs:
test:
if: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -28,3 +29,35 @@ jobs:

- name: Upload code coverage report
run: bash <(curl -s https://codecov.io/bash)

deploy-web:
if: github.repository_owner == 'ia-toki'
runs-on: ubuntu-latest
env:
HOST: ${{ secrets.HOST }}
KNOWN_HOSTS: ${{ secrets.KNOWN_HOSTS }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 50

- name: Set up node
uses: actions/setup-node@v3
with:
node-version: "20"

- name: Build
run: |
cd web
yarn install
yarn build
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.PRIVATE_KEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}

- name: Rsync
run: rsync -avzh web/build/ root@${HOST}:/var/www/html/tcframe --delete
192 changes: 0 additions & 192 deletions docs/Makefile

This file was deleted.

Binary file removed docs/_static/tcframe-clion.png
Binary file not shown.
Binary file removed docs/_static/tcframe.png
Binary file not shown.
Loading

0 comments on commit 45042a1

Please sign in to comment.