From: nishi Date: Wed, 12 Jun 2024 07:32:08 +0000 (+0000) Subject: use github pages X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=3f880095b12197ca642cd77ba2305a3576196045;p=dataworks.git use github pages git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@274 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ac5e611..5ecc3af 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,10 @@ on: schedule: - cron: "0 */6 * * *" +concurrency: + group: "pages" + cancel-in-progress: true + jobs: build-generic: @@ -12,8 +16,14 @@ jobs: runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + permissions: contents: write + pages: write + id-token: write steps: - name: Give tar root suid @@ -45,6 +55,14 @@ jobs: run: make clean - name: Make for linux64 run: make YACC=byacc -j3 archive + - name: Setup Pages + uses: actions/configure-pages@v1 + - name: Upload pages + uses: actions/upload-pages-artifact@v1 + with: + path: "Document/doc/html" + - name: Deploy + uses: actions/deploy-pages@main - name: Rename to -linux64 run: mv dataworks.zip dataworks-linux64.zip && mv dataworks.tar.gz dataworks-linux64.tar.gz && mv Client/dataworks dataworks-linux64 && mv Server/dataworks_server dataworks-server-linux64 - name: Make sure it is clean (win32)