File tree Expand file tree Collapse file tree 3 files changed +37
-31
lines changed Expand file tree Collapse file tree 3 files changed +37
-31
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33 push :
44 branches :
55 - main
6+ paths :
7+ - .github/workflows/container.yml
8+ - Dockerfile
69 pull_request :
710 branches :
811 - main
12+ paths :
13+ - .github/workflows/container.yml
14+ - Dockerfile
915
1016env :
1117 REGISTRY : ghcr.io
Original file line number Diff line number Diff line change 1+ name : Pages
2+ on :
3+ push :
4+ branches :
5+ - main
6+ pull_request :
7+ branches :
8+ - main
9+
10+ permissions :
11+ contents : write
12+
13+ jobs :
14+ deploy :
15+ runs-on : ubuntu-latest
16+ container : ghcr.io/asahilinux/mkdocs-asahi
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v4
20+ with :
21+ submodules : true
22+ - name : Configure Git Credentials
23+ run : |
24+ git config --global user.name github-actions[bot]
25+ git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com
26+ - name : Build
27+ if : github.event_name == 'pull_request'
28+ run : mkdocs build
29+ - name : Build and deploy to GitHub Pages
30+ if : github.event_name != 'pull_request'
31+ run : mkdocs gh-deploy --force
You can’t perform that action at this time.
0 commit comments