From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
Date: Tue, 4 Oct 2022 10:05:51 +0000 (UTC) [thread overview]
Message-ID: <1664877911.88080887fb366a0a0d2d30e3ded8164a34bca0c0.arthurzam@gentoo> (raw)
commit: 88080887fb366a0a0d2d30e3ded8164a34bca0c0
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 4 10:05:11 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> 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 <arthurzam <AT> 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
next reply other threads:[~2022-10-04 10:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-04 10:05 Arthur Zamarin [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-11-03 18:05 [gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/ Arthur Zamarin
2022-11-08 18:40 Arthur Zamarin
2022-12-25 18:15 Arthur Zamarin
2023-03-24 10:55 Arthur Zamarin
2023-05-17 19:10 Arthur Zamarin
2023-06-23 5:21 Arthur Zamarin
2023-12-22 15:03 Arthur Zamarin
2024-01-19 9:59 Arthur Zamarin
2024-01-26 9:19 Arthur Zamarin
2024-01-26 9:21 Arthur Zamarin
2024-01-26 9:24 Arthur Zamarin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1664877911.88080887fb366a0a0d2d30e3ded8164a34bca0c0.arthurzam@gentoo \
--to=arthurzam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox