Compare commits

..

No commits in common. "664eed341ab79f35b055ebefa8d233783c826b8e" and "afa7081181264549f2a75c548458feb5c0502d6a" have entirely different histories.

2 changed files with 12 additions and 56 deletions

View file

@ -1,49 +0,0 @@
name: Build Eleventy
on:
push:
paths-ignore:
- '/maintenance/**'
- '/README.md'
branches:
- main
workflow_dispatch:
pull_request:
paths-ignore:
- '/maintenance/**'
- '/README.md'
permissions:
contents: write
jobs:
build:
runs-on: arch-linux
strategy:
matrix:
node-version: [24.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies & build
run: |
npm ci
npm run build
- name: Deploy to forgejo-pages
run: |
git config user.email "adrianvictor+webmaster@disroot.org"
git config user.name "mareguma"
git checkout --orphan forgejo-pages
git rm -rf .
cp -r docs/* .
git add .
git commit -m "Deploy: $(date)"
git push -f origin forgejo-pages

View file

@ -18,7 +18,7 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
runs-on: arch-linux
strategy:
matrix:
@ -35,10 +35,15 @@ jobs:
- name: Install dependencies & build
run: |
npm ci
npm run build -- --pathprefix=""
npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
publish_dir: ./docs
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy to forgejo-pages
run: |
git config user.email "ci@example.com"
git config user.name "CI Bot"
git checkout --orphan forgejo-pages
git rm -rf .
cp -r docs/* .
git add .
git commit -m "Deploy: $(date)"
git push -f origin forgejo-pages