Skip to content

Commit

Permalink
add gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
haobibo committed Feb 12, 2024
1 parent 1eae6f0 commit ebfe05c
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 34 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/deploy-docusaurus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Deploy Docusaurus Site

on:
push:
branches:
- main # default branch

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '21'

- name: Install Dependencies and Build
run: |
cd QPod
npm install
npm run build
- name: Setup Pages
uses: actions/configure-pages@v3

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with: # 👇 Specify build output path
path: QPod/build

- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v2
id: deployment
4 changes: 1 addition & 3 deletions QPod/docs/tutorial-basics/congratulations.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 6
sidebar_position: 5
---

# Congratulations!
Expand All @@ -8,8 +8,6 @@ You have just learned the **basics of Docusaurus** and made some changes to the

Docusaurus has **much more to offer**!

Have **5 more minutes**? Take a look at **[versioning](../tutorial-extras/manage-docs-versions.md)** and **[i18n](../tutorial-extras/translate-your-site.md)**.

Anything **unclear** or **buggy** in this tutorial? [Please report it!](https://github.com/facebook/docusaurus/discussions/4610)

## What's next?
Expand Down
31 changes: 0 additions & 31 deletions QPod/docs/tutorial-basics/deploy-your-site.md

This file was deleted.

0 comments on commit ebfe05c

Please sign in to comment.