From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pkgcore/pkgdev:main commit in: .github/workflows/
Date: Tue, 4 Oct 2022 09:57:10 +0000 (UTC) [thread overview]
Message-ID: <1664877421.f38f89a0363419f19cc18b34e55a3690476ece98.arthurzam@gentoo> (raw)
commit: f38f89a0363419f19cc18b34e55a3690476ece98
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 4 09:54:50 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 4 09:57:01 2022 +0000
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgdev.git/commit/?id=f38f89a0
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 e992abe..1b4e617 100644
--- a/.github/workflows/doc.yml
+++ b/.github/workflows/doc.yml
@@ -2,7 +2,17 @@ name: doc
on:
push:
- branches: [main]
+ branches: [master]
+ workflow_dispatch:
+
+permissions:
+ contents: read
+ pages: write
+ id-token: write
+
+concurrency:
+ group: "pages"
+ cancel-in-progress: true
jobs:
build-and-deploy:
@@ -27,10 +37,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 9:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-04 9:57 Arthur Zamarin [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-19 16:04 [gentoo-commits] proj/pkgcore/pkgdev:main commit in: .github/workflows/ Arthur Zamarin
2024-01-26 20:22 Arthur Zamarin
2024-01-23 20:50 Arthur Zamarin
2024-01-23 20:50 Arthur Zamarin
2023-06-23 5:20 Arthur Zamarin
2023-04-22 17:03 Arthur Zamarin
2023-03-04 14:55 Arthur Zamarin
2022-10-04 9:58 Arthur Zamarin
2022-10-04 9:57 Arthur Zamarin
2022-10-04 9:56 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=1664877421.f38f89a0363419f19cc18b34e55a3690476ece98.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