mirror of
https://github.com/google/fonts.git
synced 2026-01-25 04:18:11 +00:00
Separate build path and git path
This commit is contained in:
@@ -4,6 +4,6 @@ export default {
|
||||
root: "src",
|
||||
footer: "",
|
||||
sidebar: false, // whether to show the sidebar
|
||||
output: "../../fontspector-dashboard", // path to the output root for build
|
||||
output: "../../fontspector-dashboard-build", // path to the output root for build
|
||||
preserveExtension: true
|
||||
};
|
||||
|
||||
6
.github/workflows/fontspectorall.yaml
vendored
6
.github/workflows/fontspectorall.yaml
vendored
@@ -22,8 +22,10 @@ jobs:
|
||||
uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
file_pattern: .ci/fontspector-dashboard/src/fontspector.db
|
||||
- name: Rebuild dashboard
|
||||
run: rm -rf fontspector-dashboard && cd .ci/fontspector-dashboard && npm install && npm run build
|
||||
- name: Build dashboard
|
||||
run: cd .ci/fontspector-dashboard && npm install && npm run build
|
||||
- name: Add to branch
|
||||
run: git checkout gh-pages; git rm -rf fontspector-dashboard || true; rm -rf fontspector-dashboard || true; mv fontspector-dashboard-build fontspector-dashboard
|
||||
- name: Upload results
|
||||
uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user