chore(images): Swap to eog
Some checks failed
Docs / Build (push) Failing after 34s

This commit is contained in:
DashieTM 2025-12-20 14:41:57 +01:00
parent afaba29554
commit fc997367df
4 changed files with 13 additions and 34 deletions

View file

@ -13,46 +13,25 @@ jobs:
permissions:
contents: read
runs-on: ubuntu-latest
runs-on: nixos-latest
steps:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
extra-conf: |
extra-experimental-features = nix-command flakes pipe-operators
- name: Set up cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check out the repository
uses: https://data.forgejo.org/actions/checkout@v4
- name: Build docs
run: nix -L build github:${{ github.repository }}/${{ github.sha }}#docs --no-write-lock-file
run: nix -L build .#docs --no-write-lock-file
- name: Prepare docs for upload
run: cp -r --dereference --no-preserve=mode,ownership result/ public/
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
uses: https://data.forgejo.org/actions/upload-artifact@v4
with:
path: public/
deploy:
name: Deploy
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy docs to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
- uses: https://data.forgejo.org/actions/git-pages@v2
with:
site: https://xetibo.git.dashie.page/reponame/
token: ${{ forge.token }}
source: _site/