]> Nishi Git Mirror - dataworks.git/commitdiff
deploy pages
authornishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Tue, 18 Jun 2024 14:44:03 +0000 (14:44 +0000)
committernishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Tue, 18 Jun 2024 14:44:03 +0000 (14:44 +0000)
git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@353 d4a5a174-5a4a-5b4b-b672-37683c10d7d5

.github/workflows/build.yml

index 9d72afbb4c75b55983cd6adab3f32f8934183fe8..15b008ebf1532d20e827a0f21f379bfa04746212 100644 (file)
@@ -10,6 +10,39 @@ concurrency:
   cancel-in-progress: true
 
 jobs:
+  deploy-pages:
+
+    name: "Deploy pages"
+
+    runs-on: ubuntu-latest
+
+    environment:
+      name: github-pages
+      url: ${{ steps.deployment.outputs.page_url }}
+
+    permissions:
+      contents: write
+      pages: write
+      id-token: write
+
+    steps:
+    - name: Checkout
+      uses: actions/checkout@v4
+    - name: Install packages
+      run: sudo apt-get install zip byacc flex doxygen graphviz
+    - name: Make sure it is clean
+      run: make clean
+    - name: Make for Linux 64-bit
+      run: make YACC=byacc -j3
+    - name: Setup Pages
+      uses: actions/configure-pages@v4
+    - name: Upload pages
+      uses: actions/upload-pages-artifact@v3
+      with:
+        path: "Document/doc/html"
+    - name: Deploy
+      uses: actions/deploy-pages@v4
+
   build-linux64:
 
     name: "Build for Linux 64-bit"