|
@@ -32,12 +32,11 @@ jobs:
|
|
|
steps:
|
|
steps:
|
|
|
- name: Checkout
|
|
- name: Checkout
|
|
|
uses: actions/checkout@v4
|
|
uses: actions/checkout@v4
|
|
|
|
|
+
|
|
|
- name: Set up Bun
|
|
- name: Set up Bun
|
|
|
uses: oven-sh/setup-bun@v2
|
|
uses: oven-sh/setup-bun@v2
|
|
|
with:
|
|
with:
|
|
|
bun-version: 'latest'
|
|
bun-version: 'latest'
|
|
|
- - name: Install clean-css-cli
|
|
|
|
|
- run: bun i clean-css-cli -g
|
|
|
|
|
|
|
|
|
|
- name: Build rollup-plugin-stdf-icon and stdf and rollup-plugin-md-ts
|
|
- name: Build rollup-plugin-stdf-icon and stdf and rollup-plugin-md-ts
|
|
|
run: |
|
|
run: |
|
|
@@ -56,14 +55,16 @@ jobs:
|
|
|
run: |
|
|
run: |
|
|
|
cd docs/site
|
|
cd docs/site
|
|
|
npm i
|
|
npm i
|
|
|
- npm run all
|
|
|
|
|
|
|
+ npm run build
|
|
|
|
|
+
|
|
|
- name: Setup Pages
|
|
- name: Setup Pages
|
|
|
uses: actions/configure-pages@v4
|
|
uses: actions/configure-pages@v4
|
|
|
|
|
+
|
|
|
- name: Upload artifact
|
|
- name: Upload artifact
|
|
|
uses: actions/upload-pages-artifact@v3
|
|
uses: actions/upload-pages-artifact@v3
|
|
|
with:
|
|
with:
|
|
|
- # Upload build folder
|
|
|
|
|
path: './docs/site/build'
|
|
path: './docs/site/build'
|
|
|
|
|
+
|
|
|
- name: Deploy to GitHub Pages
|
|
- name: Deploy to GitHub Pages
|
|
|
id: deployment
|
|
id: deployment
|
|
|
uses: actions/deploy-pages@v4
|
|
uses: actions/deploy-pages@v4
|