From 0d63ad7cc39ea6f8d4f8de4ced3e412604eff8ec Mon Sep 17 00:00:00 2001 From: nishi Date: Tue, 18 Jun 2024 14:44:03 +0000 Subject: [PATCH] deploy pages git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@353 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- .github/workflows/build.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d72afb..15b008e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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" -- 2.43.0