-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,17 +27,21 @@ jobs: | |
- name: Build | ||
run: bun run build | ||
|
||
- name: Create frontend dist folder | ||
run: mkdir frontend | ||
|
||
- name: Reparent into dist/frontend | ||
run: cp -r dist frontend/dist | ||
run: cp -r dist frontend | ||
|
||
- name: Deploy | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: frontend/dist | ||
folder: frontend/frontend | ||
# Remove previous build files | ||
clean: true | ||
# Do not remove the `.nojekyll` file: we have manually added an empty `.nojekyll` file at the root of the `gh-pages` branch and we don't want having to re-create it after each build. | ||
clean-exclude: | | ||
.nojekyll | ||
CNAME | ||
docs |