Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Site
uses: actions/checkout@v4
uses: actions/checkout@v6
- run: |
git fetch --prune --unshallow

- name: Checkout NuttX repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: apache/nuttx
fetch-depth: 0
ref: master
path: nuttx
- uses: actions/setup-python@v5
- uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Build docs
Expand All @@ -36,6 +36,9 @@ jobs:
echo " Install Pipenv"
echo "======================================================="

python3 -m venv .venv
source .venv/bin/activate
export PIPENV_VERBOSITY=-1
pip3 install pipenv

echo "======================================================="
Expand Down Expand Up @@ -90,8 +93,8 @@ jobs:

echo " ====> PIPENV CLEANUP."

# Uninstall pipenv packages (cached packages are preserved).
pipenv uninstall --all
# Clear caches (pipenv, pip)
pipenv --clear install

done

Expand All @@ -103,7 +106,7 @@ jobs:
- name: Install Ruby tools
run: |
sudo apt-get -y install rubygems ruby-dev zlib1g-dev

- name: Build Site
run: |
export GEM_HOME=$HOME/.gem
Expand All @@ -115,7 +118,7 @@ jobs:
./publish.sh

- name: Upload artifact of staged site
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: static-site
path: content
Expand Down