Skip to content

Commit

Permalink
chore(gh-pages): reallocate docs page to eesast docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy-Liuxf authored Apr 10, 2024
1 parent 3b8f823 commit cace9e4
Show file tree
Hide file tree
Showing 43 changed files with 33 additions and 23,962 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: build
on: [push, pull_request]
on:
push:
branches: [dev, main, master]
pull_request:
branches: [dev, main, master]
jobs:
dotnet-build-logic:
if: true
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: format
on: [push, pull_request]
on:
push:
branches: [dev, main, master]
pull_request:
branches: [dev, main, master]
jobs:
clang-format-checking:
runs-on: ubuntu-latest
Expand Down
28 changes: 5 additions & 23 deletions .github/workflows/deploy.yml → .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ name: Deploy to GitHub Pages

on:
push:
branches: [dev, main, master]
paths:
- '.github/workflows/deploy.yml'
- '.github/workflows/gh-pages.yml'
- 'docs/**'

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
Expand All @@ -23,41 +24,22 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: docs
working-directory: gh-pages
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 18

- name: Get yarn cache
id: yarn-cache
run: echo "YARN_CACHE_DIR=$(yarn cache dir)" >> "${GITHUB_OUTPUT}"

- name: Cache dependencies
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.YARN_CACHE_DIR }}
key: ${{ runner.os }}-docs-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-docs-
- run: yarn install --frozen-lockfile
- run: yarn build

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: './docs/build'
path: '.'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4
20 changes: 0 additions & 20 deletions docs/.gitignore

This file was deleted.

Loading

0 comments on commit cace9e4

Please sign in to comment.