From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AB1E1158094 for ; Tue, 4 Oct 2022 10:05:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 081A5E091A; Tue, 4 Oct 2022 10:05:54 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E66F7E091A for ; Tue, 4 Oct 2022 10:05:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 404BF335CA6 for ; Tue, 4 Oct 2022 10:05:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D4649601 for ; Tue, 4 Oct 2022 10:05:51 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1664877911.88080887fb366a0a0d2d30e3ded8164a34bca0c0.arthurzam@gentoo> Subject: [gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/ X-VCS-Repository: proj/pkgcore/snakeoil X-VCS-Files: .github/workflows/doc.yml X-VCS-Directories: .github/workflows/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 88080887fb366a0a0d2d30e3ded8164a34bca0c0 X-VCS-Branch: master Date: Tue, 4 Oct 2022 10:05:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: daf2d86d-700c-4e11-a57a-a64388d81646 X-Archives-Hash: 50012891303c2888b1c65b365c055172 commit: 88080887fb366a0a0d2d30e3ded8164a34bca0c0 Author: Arthur Zamarin gentoo org> AuthorDate: Tue Oct 4 10:05:11 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Tue Oct 4 10:05:11 2022 +0000 URL: https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=88080887 ci: use deploy using github actions instead of branch Using a branch is broken when using the mirroring. So use straight deployment using github actions. Signed-off-by: Arthur Zamarin gentoo.org> .github/workflows/doc.yml | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 53eee2c7..b5820146 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -3,9 +3,19 @@ name: doc on: push: branches: [master] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: true jobs: - build-and-deploy: + build: runs-on: ubuntu-latest steps: - name: Checkout code @@ -29,10 +39,19 @@ jobs: # notify github this isn't a jekyll site touch build/sphinx/html/.nojekyll - - name: Deploy docs to gh-pages - uses: JamesIves/github-pages-deploy-action@v4 + - name: Upload artifact + uses: actions/upload-pages-artifact@v1 with: - token: ${{ secrets.GITHUB_TOKEN }} - branch: gh-pages - folder: build/sphinx/html - single-commit: true + path: build/sphinx/html + + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v1