Skip to content

Commit c627c29

Browse files
authored
Create deploy-to-pages.yml
1 parent b8bd73c commit c627c29

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Deploy to Pages
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v5
13+
14+
- name: Run build in Docker
15+
run: |
16+
docker run --rm -v ${PWD}:/antora antora/antora antora-playbook.yml
17+
18+
- name: Deploy to Github pages
19+
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
20+
with:
21+
github_token: ${{ secrets.GITHUB_TOKEN }}
22+
publish_dir: ./build
23+
force_orphan: true

0 commit comments

Comments
 (0)