PackwizJS/.forgejo/workflows/docs.yml
Renovate 87e49052cd
All checks were successful
Actions / Build and Push Documentation (push) Successful in 20s
Pin dependencies (#5)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| catthehacker/ubuntu | container | pinDigest |  -> `89367f3` |
| [https://github.com/oven-sh/setup-bun](https://github.com/oven-sh/setup-bun) | action | pinDigest |  -> `4bc047a` |
| https://www.coastalcommits.com/actions/ssh-agent | action | pinDigest |  ->  |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjMuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE2My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: https://www.coastalcommits.com/GalacticFactory/PackwizJS/pulls/5
Co-authored-by: Renovate <renovate@coastalcommits.com>
Co-committed-by: Renovate <renovate@coastalcommits.com>
2025-02-09 14:04:55 -05:00

44 lines
1.5 KiB
YAML

name: Actions
on:
push:
branches:
- main
jobs:
docs:
name: Build and Push Documentation
runs-on: docker
container: catthehacker/ubuntu:act-latest@sha256:89367f3c5437699c6b43fa941041725bcc77682a46f2bbe6557541e384d9cedb
steps:
- name: Checkout repository
uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up SSH key
uses: https://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 Bun
uses: https://github.com/oven-sh/setup-bun@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5 # v2
with:
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: bun install --frozen-lockfile
- name: Build Documentation
run: bun docs
- name: Commit and Push
run: |
git add .
if ! git diff-index --quiet HEAD --; then
git commit -m "Update documentation"
git push origin
else
echo "No changes to commit."
fi