Skip to content

Commit 9aaaf14

Browse files
committed
added docToolchain
1 parent ade5d89 commit 9aaaf14

36 files changed

Lines changed: 1610 additions & 66 deletions

.github/workflows/gh-pages.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main # Set a branch name to trigger deployment
7+
pull_request:
8+
workflow_dispatch: {}
9+
10+
jobs:
11+
deploy:
12+
runs-on: ubuntu-latest
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
env:
16+
DTC_HEADLES: true
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: setup
20+
run: chmod +x dtcw
21+
- name: generateSite
22+
run: ./dtcw generateSite
23+
- name: copyToPublic
24+
run: cp -r ./build/microsite/output ./public
25+
- name: Deploy
26+
uses: peaceiris/actions-gh-pages@v3
27+
# if: ${{ github.ref == 'refs/heads/main' }}
28+
with:
29+
github_token: ${{ secrets.GITHUB_TOKEN }}
30+
publish_dir: ./public
31+
32+

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/build/
2+
/.gradle/

0 commit comments

Comments
 (0)