Skip to content

Commit 8eae4c9

Browse files
committed
Move back to website
1 parent 5fd9fcc commit 8eae4c9

64 files changed

Lines changed: 20 additions & 20 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Deploy to GitHub Pages
22

33
on:
44
push:
5-
branches: [new-website]
6-
paths: [./**]
5+
branches: [main]
6+
paths: [website/**]
77

88
jobs:
99
deploy:
@@ -16,7 +16,7 @@ jobs:
1616
node-version: 14.x
1717
cache: npm
1818
- name: Build website
19-
working-directory: ./
19+
working-directory: website
2020
run: |
2121
npm ci
2222
npm run build
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
github_token: ${{ secrets.GITHUB_TOKEN }}
3030
# Build output to publish to the `gh-pages` branch:
31-
publish_dir: ./build
31+
publish_dir: ./website/build
3232
# Assign commit authorship to the official GH-Actions bot for deploys to `gh-pages` branch:
3333
# https://github.com/actions/checkout/issues/13#issuecomment-724415212
3434
# The GH actions bot is used by default if you didn't specify the two fields.

.github/workflows/test-deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Test deployment
22

33
on:
4-
push:
5-
branches: [new-website]
6-
paths: [./**]
4+
pull_request:
5+
branches: [main]
6+
paths: [website/**]
77

88
jobs:
99
test-deploy:
@@ -16,7 +16,7 @@ jobs:
1616
node-version: 14.x
1717
cache: npm
1818
- name: Test build
19-
working-directory: ./
19+
working-directory: website
2020
run: |
2121
npm ci
2222
npm run build

.gitignore

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# Dependencies
2-
node_modules
2+
/website/node_modules
33

44
# Production
5-
build
5+
/website/build
66

77
# Generated files
8-
.docusaurus
9-
.cache-loader
8+
/website/.docusaurus
9+
/website/.cache-loader
1010

1111
# Misc
12-
.DS_Store
13-
.env.local
14-
.env.development.local
15-
.env.test.local
16-
.env.production.local
12+
/website/.DS_Store
13+
/website/.env.local
14+
/website/.env.development.local
15+
/website/.env.test.local
16+
/website/.env.production.local
1717

18-
npm-debug.log*
19-
yarn-debug.log*
20-
yarn-error.log*
18+
/website/npm-debug.log*
19+
/website/yarn-debug.log*
20+
/website/yarn-error.log*
File renamed without changes.

blog/2021-08-26-welcome/docusaurus-plushie-banner.jpeg renamed to website/blog/2021-08-26-welcome/docusaurus-plushie-banner.jpeg

File renamed without changes.

0 commit comments

Comments
 (0)