fix docs build action
Some checks failed
Actions / Build and Push Documentation (push) Failing after 3s

we do not use pnpm ☠️
This commit is contained in:
cswimr 2025-02-09 10:56:15 -06:00
parent 15e7bdbf90
commit f1fed002a2
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -9,31 +9,30 @@ jobs:
docs:
name: Build and Push Documentation
runs-on: docker
container: www.coastalcommits.com/cswimr/actions:yarn@sha256:3af293679759bde9009ada9849f59b5b8a4c4b085710d6fafa9f88a60d2cd6f5
container: catthehacker/ubuntu:act-latest
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
uses: github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up SSH key
uses: actions/ssh-agent@forgejo
uses: www.coastalcommits.com/actions/ssh-agent@forgejo
with:
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
instance-urls: "coastalcommits.com"
- name: Add instance URLs to known_hosts
run: ssh-keyscan -H coastalcommits.com >> ~/.ssh/known_hosts
- name: Setup Node.js
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
uses: github.com/oven-sh/setup-bun@v2
with:
node-version: 22
cache: "pnpm"
bun-version: latest
- name: Configure Git
run: |
git config --global user.name "CoastalCommits"
git config --global user.email "CoastalCommits@noreply@coastalcommits.com"
git remote set-url origin git@coastalcommits.com:${{ github.repository }}
- name: Install dependencies
run: pnpm install --frozen-lockfile
run: bun install --frozen-lockfile
- name: Build Documentation
run: pnpm docs
run: bun docs
- name: Commit and Push
run: |
git commit -a "Update documentation"