Skip to content

Deploy

Deploy #778

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
git fetch --prune --unshallow
- name: Install deps 🔧
run: |
curl https://get.mocaccino.org/luet/get_luet_root.sh | sudo sh
sudo luet install -y extension/package-browser
- name: Build pages 🔧
run: |
sudo -E luet-package-browser --config config.yaml --output build --templates templates
sudo cp -rfv CNAME build/
- name: Deploy GH Pages 🚀
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: build # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch
SINGLE_COMMIT: true