-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes the github pages deployment: - `working-directory` doesn't apply to `uses`- only `run`, so we need to add the `wiki/` prefix manually to the upload artifacts step - since we're using a custom domain, we should use an empty baseurl. - add a CNAME file in the static dir according to the [the docs](https://docusaurus.io/docs/deployment#github-pages-overview) I might be missing something, but lets throw it at the wall and see how it goes --------- Co-authored-by: Daymon <[email protected]>
- Loading branch information
Showing
4 changed files
with
26 additions
and
26 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
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 |
---|---|---|
@@ -1,28 +1,28 @@ | ||
name: Test deployment | ||
# name: Test deployment | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
# on: | ||
# pull_request: | ||
# branches: | ||
# - main | ||
|
||
defaults: | ||
run: | ||
working-directory: ./wiki | ||
# defaults: | ||
# run: | ||
# working-directory: ./wiki | ||
|
||
jobs: | ||
test-deploy: | ||
name: Test deployment | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
cache: npm | ||
# jobs: | ||
# test-deploy: | ||
# name: Test deployment | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# with: | ||
# fetch-depth: 0 | ||
# - uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 18 | ||
# cache: npm | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
- name: Test build website | ||
run: npm run build | ||
# - name: Install dependencies | ||
# run: npm ci | ||
# - name: Test build website | ||
# run: npm run build |
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
Empty file.