Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions .github/workflows/ci.yml

This file was deleted.

6 changes: 6 additions & 0 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@ on:
push:
branches:
- main
paths:
- .github/workflows/container.yml
- Dockerfile
pull_request:
branches:
- main
paths:
- .github/workflows/container.yml
- Dockerfile

env:
REGISTRY: ghcr.io
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Pages
on:
push:
branches:
- main
pull_request:
branches:
- main

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
container: ghcr.io/asahilinux/mkdocs-asahi
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Configure Git Credentials
run: |
git config --global user.name github-actions[bot]
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Build
if: github.event_name == 'pull_request'
run: mkdocs build
- name: Build and deploy to GitHub Pages
if: github.event_name != 'pull_request'
run: mkdocs gh-deploy --force