-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test with building de static docusaurus website
- Loading branch information
1 parent
7c5feba
commit 1277c4a
Showing
1 changed file
with
22 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -147,28 +147,28 @@ jobs: | |
path: repository | ||
- name: 🧪 Display structure of job | ||
run: ls -R | ||
# - name: 🗂️ Move firmware folders to static | ||
# run: | | ||
# for firmware in $FIRMWARES; do | ||
# mv repository/$firmware docs/static | ||
# done | ||
# rm -R repository | ||
|
||
# - name: 🏗️ Set up Node.js | ||
# uses: actions/[email protected] | ||
# with: | ||
# node-version: 20.x | ||
# - name: 🏗️ Install Docusaurus dependencies | ||
# run: npm install --frozen-lockfile --non-interactive | ||
# working-directory: docs | ||
# - name: 🚀 Build Docusaurus | ||
# run: npm run build | ||
# working-directory: docs | ||
|
||
# - name: ⬆️ Upload pages artifacts | ||
# uses: actions/upload-pages-artifact@v3 | ||
# with: | ||
# path: docs/build | ||
- name: 🗂️ Move firmware folders to static | ||
run: | | ||
for firmware in repository; do | ||
mv repository/$firmware docs/static | ||
done | ||
rm -R repository | ||
- name: 🏗️ Set up Node.js | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 20.x | ||
- name: 🏗️ Install Docusaurus dependencies | ||
run: npm install --frozen-lockfile --non-interactive | ||
working-directory: docs | ||
- name: 🚀 Build Docusaurus | ||
run: npm run build | ||
working-directory: docs | ||
|
||
- name: ⬆️ Upload pages artifacts | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: docs/build | ||
|
||
# deploy: | ||
# name: Deploy to GitHub Pages | ||
|