Skip to content

Commit

Permalink
Test with building de static docusaurus website
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas committed Jan 27, 2024
1 parent 7c5feba commit 1277c4a
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/build-firmware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/setup-node@v4.0.1
# 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/setup-node@v4.0.1
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
Expand Down

0 comments on commit 1277c4a

Please sign in to comment.