source: Main/trunk/.github/workflows/doc.yml@ 388

Last change on this file since 388 was 280, checked in by Nishi, on Oct 8, 2024 at 9:38:14 PM

add deps

  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: doc.yml 280 2024-10-08 12:38:14Z nishi $
2
3name: "Build Tewi HTTPd Document"
4
5on:
6 workflow_dispatch:
7 push:
8
9concurrency:
10 group: "doc"
11 cancel-in-progress: true
12
13jobs:
14 doc:
15
16 name: "Deploy pages"
17
18 runs-on: ubuntu-latest
19
20 environment:
21 name: github-pages
22 url: ${{ steps.deployment.outputs.page_url }}
23
24 permissions:
25 contents: write
26 pages: write
27 id-token: write
28
29 steps:
30 - name: Checkout
31 uses: actions/checkout@v4
32 - name: Install packages
33 run: sudo apt-get install tcl subversion enscript
34 - name: Get docgen
35 run: svn co http://svn.nishi.boats/repo/docgen/trunk docgen
36 - name: Build document
37 run: cd Document && ../docgen/docgen
38 - name: Make HTML
39 run: echo "<html><head><meta charset=\"UTF-8\"><title>Select</title></head><body><h1>Select</h1><hr><ul><li><a href=\"./en\">English</a></li><li><a href=\"./jp\">Japanese</a></li></ul></body></html>" > Document/output/index.html
40 - name: Setup Pages
41 uses: actions/configure-pages@v4
42 - name: Upload pages
43 uses: actions/upload-pages-artifact@v3
44 with:
45 path: "Document/output"
46 - name: Deploy
47 uses: actions/deploy-pages@v4
Note: See TracBrowser for help on using the repository browser.