Skip to content

Commit 9f32c10

Browse files
authored
ci: setting github workflow (#18)
* feat: initializing folder structure * refactor: Change and Addition in folder Structure * chore: images(asset) addition * chore: social card image change * feat: template community page added as .mdx * chore: font files added * style: CSS variables and fonts added * revert: removing duplicate fonts * chore: component created Signed-off-by: Aditya Prasad Mohanty <[email protected]> * feat: adding custom navbar Signed-off-by: Aditya Prasad Mohanty <[email protected]> * feat: hero section added Signed-off-by: Aditya Prasad Mohanty <[email protected]> * feat: architecture section added Signed-off-by: Aditya Prasad Mohanty <[email protected]> * feat: adding home page sections Signed-off-by: Aditya Prasad Mohanty <[email protected]> * build: building site and setting github pages Signed-off-by: Aditya Prasad Mohanty <[email protected]> * fix: mascot svg size reduced and architechture image format change Signed-off-by: Aditya Prasad Mohanty <[email protected]> * fix: deploy fix Signed-off-by: Aditya Prasad Mohanty <[email protected]> * fix: deploy fix v0.0.1 Signed-off-by: Aditya Prasad Mohanty <[email protected]> * fix: deplo fix v0.0.2 Signed-off-by: Aditya Prasad Mohanty <[email protected]> * fix: deploy fix 0.0.2 Signed-off-by: Aditya Prasad Mohanty <[email protected]> * ci: setting github workflow Signed-off-by: Aditya Prasad Mohanty <[email protected]> --------- Signed-off-by: Aditya Prasad Mohanty <[email protected]>
1 parent 8b8b1f0 commit 9f32c10

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/deploy.yml

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

0 commit comments

Comments
 (0)