Skip to content

Commit 13ce444

Browse files
committed
🔧 updated configurations files
1 parent 6f02398 commit 13ce444

File tree

5 files changed

+84
-39
lines changed

5 files changed

+84
-39
lines changed

‎.github/workflows/deploy.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
# Review gh actions docs if you want to further define triggers, paths, etc
8+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
9+
10+
jobs:
11+
deploy:
12+
name: Deploy to GitHub Pages
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: actions/setup-node@v3
17+
with:
18+
node-version: 18
19+
cache: yarn
20+
21+
- name: Install dependencies
22+
run: yarn install --frozen-lockfile
23+
- name: Build website
24+
run: yarn build
25+
26+
# Popular action to deploy to GitHub Pages:
27+
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
28+
- name: Deploy to GitHub Pages
29+
uses: peaceiris/actions-gh-pages@v3
30+
with:
31+
github_token: ${{ secrets.GITHUB_TOKEN }}
32+
# Build output to publish to the `gh-pages` branch:
33+
publish_dir: ./build
34+
# The following lines assign commit authorship to the official
35+
# GH-Actions bot for deploys to `gh-pages` branch:
36+
# https://github.com/actions/checkout/issues/13#issuecomment-724415212
37+
# The GH actions bot is used by default if you didn't specify the two fields.
38+
# You can swap them out with your own user credentials.
39+
user_name: github-actions[bot]
40+
user_email: 41898282+github-actions[bot]@users.noreply.github.com

‎.github/workflows/test-deploy.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Test deployment
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
# Review gh actions docs if you want to further define triggers, paths, etc
8+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
9+
10+
jobs:
11+
test-deploy:
12+
name: Test deployment
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: actions/setup-node@v3
17+
with:
18+
node-version: 18
19+
cache: yarn
20+
21+
- name: Install dependencies
22+
run: yarn install --frozen-lockfile
23+
- name: Test build website
24+
run: yarn build

‎blog/authors.yml

+10-16
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
1-
endi:
2-
name: Endilie Yacop Sucipto
3-
title: Maintainer of Docusaurus
4-
url: https://github.com/endiliey
5-
image_url: https://github.com/endiliey.png
1+
alvaro:
2+
name: Alvaro Farias
3+
title: Lead Developer
4+
url: https://github.com/afariasfermin
5+
image_url: https://github.com/afariasfermin.png
66

7-
yangshun:
8-
name: Yangshun Tay
9-
title: Front End Engineer @ Facebook
10-
url: https://github.com/yangshun
11-
image_url: https://github.com/yangshun.png
12-
13-
slorber:
14-
name: Sébastien Lorber
15-
title: Docusaurus maintainer
16-
url: https://sebastienlorber.com
17-
image_url: https://github.com/slorber.png
7+
hector:
8+
name: Hector Bastidas
9+
title: Product Owner
10+
url: https://github.com/HectorJBastidasG
11+
image_url: https://github.com/HectorJBastidasG.png

‎docs/development/_category_.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"label": "Development",
2+
"label": "Projects",
33
"position": 4,
44
"link": {
55
"type": "generated-index",

‎docusaurus.config.js

+9-22
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ const config = {
1616

1717
// GitHub pages deployment config.
1818
// If you aren't using GitHub pages, you don't need these.
19-
organizationName: 'simplemap.io', // Usually your GitHub org/user name.
19+
organizationName: 'simplemap', // Usually your GitHub org/user name.
2020
projectName: 'simplemap.github.io', // Usually your repo name.
21+
deploymentBranch: 'gh-pages',
2122

2223
// Even if you don't use internalization, you can use this field to set useful
2324
// metadata like html lang. For example, if your site is Chinese, you may want
@@ -67,34 +68,24 @@ const config = {
6768
type: 'doc',
6869
docId: 'introduction',
6970
position: 'left',
70-
label: 'Open Source',
71+
label: 'Projects',
7172
},
72-
{
73-
type: 'doc',
74-
docId: 'support-us',
75-
position: 'left',
76-
label: 'Support us',
77-
},
78-
// {to: '/blog', label: 'Blog', position: 'left'},
73+
{to: '/blog', label: 'Blog', position: 'left'},
7974
{
8075
href: 'https://github.com/RentadroneCL',
8176
label: 'GitHub',
8277
position: 'right',
8378
},
79+
{
80+
href: 'https://discord.gg/V6mwD7GYa2',
81+
label: 'Discord',
82+
position: 'right',
83+
},
8484
],
8585
},
8686
footer: {
8787
style: 'dark',
8888
links: [
89-
{
90-
title: 'Docs',
91-
items: [
92-
{
93-
label: 'Tutorial',
94-
to: '/docs/intro',
95-
},
96-
],
97-
},
9889
{
9990
title: 'Community',
10091
items: [
@@ -106,10 +97,6 @@ const config = {
10697
label: 'Discord',
10798
href: 'https://discord.gg/V6mwD7GYa2',
10899
},
109-
{
110-
label: 'Twitter',
111-
href: 'https://twitter.com/docusaurus',
112-
},
113100
],
114101
},
115102
{

0 commit comments

Comments
 (0)