public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
@ 2022-11-03 18:05 Arthur Zamarin
  0 siblings, 0 replies; 12+ messages in thread
From: Arthur Zamarin @ 2022-11-03 18:05 UTC (permalink / raw
  To: gentoo-commits

commit:     b8e75f3962ab4e6d9b17f8236a3cf67eb82ca438
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  3 18:04:42 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Nov  3 18:04:42 2022 +0000
URL:        https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=b8e75f39

release.yml: update actions/setup-python to v4

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/release.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index b0d82dc9..cf1a719b 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -13,7 +13,7 @@ jobs:
       uses: actions/checkout@v3
 
     - name: Set up Python 3.10
-      uses: actions/setup-python@v2
+      uses: actions/setup-python@v4
       with:
         python-version: "3.10"
         cache: 'pip'


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
@ 2024-01-26  9:24 Arthur Zamarin
  0 siblings, 0 replies; 12+ messages in thread
From: Arthur Zamarin @ 2024-01-26  9:24 UTC (permalink / raw
  To: gentoo-commits

commit:     e3a44c9b8dd304f4fe8521db0f05591b44a5e04b
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 26 09:24:28 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 26 09:24:28 2024 +0000
URL:        https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=e3a44c9b

ci: fix doc.yml

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/doc.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml
index 4e0a49d0..4b7cbbe0 100644
--- a/.github/workflows/doc.yml
+++ b/.github/workflows/doc.yml
@@ -58,4 +58,4 @@ jobs:
     steps:
       - name: Deploy to GitHub Pages
         id: deployment
-        uses: actions/deploy-pages@v1
+        uses: actions/deploy-pages@v4


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
@ 2024-01-26  9:21 Arthur Zamarin
  0 siblings, 0 replies; 12+ messages in thread
From: Arthur Zamarin @ 2024-01-26  9:21 UTC (permalink / raw
  To: gentoo-commits

commit:     57770686c98e70c09577f2ea23a3a5846fe998f4
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 26 09:19:33 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 26 09:21:05 2024 +0000
URL:        https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=57770686

ci: bump dependencies

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/doc.yml     | 10 +++++++---
 .github/workflows/release.yml |  9 ++++++---
 .github/workflows/test.yml    |  6 +++---
 3 files changed, 16 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml
index 47708ff4..4e0a49d0 100644
--- a/.github/workflows/doc.yml
+++ b/.github/workflows/doc.yml
@@ -19,10 +19,10 @@ jobs:
     runs-on: ubuntu-latest
     steps:
     - name: Checkout code
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
 
     - name: Set up Python 3.11
-      uses: actions/setup-python@v4
+      uses: actions/setup-python@v5
       with:
         python-version: '3.11'
         cache: 'pip'
@@ -40,7 +40,7 @@ jobs:
         touch build/sphinx/html/.nojekyll
 
     - name: Upload artifact
-      uses: actions/upload-pages-artifact@v1
+      uses: actions/upload-pages-artifact@v3
       with:
         path: build/sphinx/html
 
@@ -51,6 +51,10 @@ jobs:
     runs-on: ubuntu-latest
     needs: build
 
+    permissions:
+      pages: write
+      id-token: write
+
     steps:
       - name: Deploy to GitHub Pages
         id: deployment

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 8b246c22..48921ef2 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -17,10 +17,10 @@ jobs:
 
     steps:
     - name: Checkout code
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
 
     - name: Set up Python 3.11
-      uses: actions/setup-python@v4
+      uses: actions/setup-python@v5
       with:
         python-version: "3.11"
         cache: 'pip'
@@ -50,10 +50,13 @@ jobs:
         sha512sum dist/*
         tar -ztf dist/*.tar.gz | sort
 
-    - uses: actions/upload-artifact@v3
+    - uses: actions/upload-artifact@v4
       with:
         name: results
         path: dist/*
+        if-no-files-found: error
+        compression-level: 0
+        overwrite: true
 
     - name: publish
       uses: pypa/gh-action-pypi-publish@release/v1

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b1a8cbe5..8f1f818b 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -26,10 +26,10 @@ jobs:
 
     steps:
     - name: Checkout code
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
 
     - name: Set up Python ${{ matrix.python-version }}
-      uses: actions/setup-python@v4
+      uses: actions/setup-python@v5
       with:
         python-version: ${{ matrix.python-version }}
         cache: 'pip'
@@ -61,5 +61,5 @@ jobs:
     runs-on: ubuntu-latest
     steps:
     - name: Checkout code
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
     - uses: psf/black@stable


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
@ 2024-01-26  9:19 Arthur Zamarin
  0 siblings, 0 replies; 12+ messages in thread
From: Arthur Zamarin @ 2024-01-26  9:19 UTC (permalink / raw
  To: gentoo-commits

commit:     d9539a3a7eb814d2a3993421c6f7ec2e2a23cf2f
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 26 09:19:33 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 26 09:19:33 2024 +0000
URL:        https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=d9539a3a

ci: bump dependencies

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/doc.yml     | 14 +++++++++++---
 .github/workflows/release.yml |  9 ++++++---
 .github/workflows/test.yml    |  6 +++---
 3 files changed, 20 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml
index 47708ff4..346522fe 100644
--- a/.github/workflows/doc.yml
+++ b/.github/workflows/doc.yml
@@ -19,10 +19,10 @@ jobs:
     runs-on: ubuntu-latest
     steps:
     - name: Checkout code
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
 
     - name: Set up Python 3.11
-      uses: actions/setup-python@v4
+      uses: actions/setup-python@v5
       with:
         python-version: '3.11'
         cache: 'pip'
@@ -40,7 +40,7 @@ jobs:
         touch build/sphinx/html/.nojekyll
 
     - name: Upload artifact
-      uses: actions/upload-pages-artifact@v1
+      uses: actions/upload-pages-artifact@v3
       with:
         path: build/sphinx/html
 
@@ -51,6 +51,14 @@ jobs:
     runs-on: ubuntu-latest
     needs: build
 
+    permissions:
+      pages: write
+      id-token: write
+
+    environment:
+      name: github-pages
+      url: ${{ steps.deployment.outputs.page_url }}
+
     steps:
       - name: Deploy to GitHub Pages
         id: deployment

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 8b246c22..48921ef2 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -17,10 +17,10 @@ jobs:
 
     steps:
     - name: Checkout code
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
 
     - name: Set up Python 3.11
-      uses: actions/setup-python@v4
+      uses: actions/setup-python@v5
       with:
         python-version: "3.11"
         cache: 'pip'
@@ -50,10 +50,13 @@ jobs:
         sha512sum dist/*
         tar -ztf dist/*.tar.gz | sort
 
-    - uses: actions/upload-artifact@v3
+    - uses: actions/upload-artifact@v4
       with:
         name: results
         path: dist/*
+        if-no-files-found: error
+        compression-level: 0
+        overwrite: true
 
     - name: publish
       uses: pypa/gh-action-pypi-publish@release/v1

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b1a8cbe5..8f1f818b 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -26,10 +26,10 @@ jobs:
 
     steps:
     - name: Checkout code
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
 
     - name: Set up Python ${{ matrix.python-version }}
-      uses: actions/setup-python@v4
+      uses: actions/setup-python@v5
       with:
         python-version: ${{ matrix.python-version }}
         cache: 'pip'
@@ -61,5 +61,5 @@ jobs:
     runs-on: ubuntu-latest
     steps:
     - name: Checkout code
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
     - uses: psf/black@stable


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
@ 2024-01-19  9:59 Arthur Zamarin
  0 siblings, 0 replies; 12+ messages in thread
From: Arthur Zamarin @ 2024-01-19  9:59 UTC (permalink / raw
  To: gentoo-commits

commit:     0fa84345a51f6b851b629b8dfd61e3306bfda0a5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 19 04:44:51 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 09:57:30 2024 +0000
URL:        https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=0fa84345

ci: add pypy3.10

Signed-off-by: Sam James <sam <AT> gentoo.org>
Closes: https://github.com/pkgcore/snakeoil/pull/99
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/test.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 616312e0..b1a8cbe5 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -13,7 +13,7 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-latest]
-        python-version: ['3.10', '3.11', '3.12']
+        python-version: ['3.10', '3.11', '3.12', 'pypy3.10']
         experimental: [false]
         include:
           - os: ubuntu-latest


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
@ 2023-12-22 15:03 Arthur Zamarin
  0 siblings, 0 replies; 12+ messages in thread
From: Arthur Zamarin @ 2023-12-22 15:03 UTC (permalink / raw
  To: gentoo-commits

commit:     051b89ef0ecdad758ad8e1bcc7467a71f562d5be
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 22 15:02:47 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 22 15:02:54 2023 +0000
URL:        https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=051b89ef

ci: remove pypy3.9

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/test.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 9c767a22..77150441 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -13,7 +13,7 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-latest]
-        python-version: ['3.10', '3.11', 'pypy-3.9']
+        python-version: ['3.10', '3.11']
         experimental: [false]
         include:
           - os: ubuntu-latest


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
@ 2023-06-23  5:21 Arthur Zamarin
  0 siblings, 0 replies; 12+ messages in thread
From: Arthur Zamarin @ 2023-06-23  5:21 UTC (permalink / raw
  To: gentoo-commits

commit:     6c10670969a4d59b42b80d9269cf87bc7952cc88
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 23 05:21:25 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 23 05:21:25 2023 +0000
URL:        https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=6c106709

ci: add pytest-github-actions-annotate-failures for test

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/test.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 019a76c5..9c767a22 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -38,7 +38,7 @@ jobs:
     - name: Install dependencies
       run: |
         python -m pip install --upgrade pip
-        pip install .[test]
+        pip install ".[test]" pytest-github-actions-annotate-failures
 
     - name: Install non-python deps
       if: ${{ matrix.os == 'ubuntu-latest' }}


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
@ 2023-05-17 19:10 Arthur Zamarin
  0 siblings, 0 replies; 12+ messages in thread
From: Arthur Zamarin @ 2023-05-17 19:10 UTC (permalink / raw
  To: gentoo-commits

commit:     1f94bb1fde20c3db60370e608c4ce8d25b19b0c9
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed May 17 19:10:34 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed May 17 19:10:34 2023 +0000
URL:        https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=1f94bb1f

ci: use new PyPI OIDC publish

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/release.yml | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 00120669..8b246c22 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -8,6 +8,13 @@ on:
 jobs:
   build-and-deploy:
     runs-on: ubuntu-latest
+    environment: release
+
+    permissions:
+      id-token: write # Used to authenticate to PyPI via OIDC
+
+      contents: write # Used to authenticate github release publish
+
     steps:
     - name: Checkout code
       uses: actions/checkout@v3
@@ -48,20 +55,9 @@ jobs:
         name: results
         path: dist/*
 
-    - name: Install twine and check files
-      run: |
-        pip install twine wheel-inspect
-        twine check dist/*
-        wheel2json dist/*.whl
-
-    - name: Upload to PyPI
-      env:
-        TWINE_USERNAME: __token__
-        TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
-      # only upload files for tagged releases
+    - name: publish
+      uses: pypa/gh-action-pypi-publish@release/v1
       if: startsWith(github.ref, 'refs/tags/')
-      run: |
-        twine upload dist/*
 
     - name: Create GitHub release
       uses: softprops/action-gh-release@v1
@@ -69,3 +65,4 @@ jobs:
       with:
         files: dist/*.tar.gz
         fail_on_unmatched_files: true
+        draft: true


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
@ 2023-03-24 10:55 Arthur Zamarin
  0 siblings, 0 replies; 12+ messages in thread
From: Arthur Zamarin @ 2023-03-24 10:55 UTC (permalink / raw
  To: gentoo-commits

commit:     2cb70c06d205b52abbf4fed36c2e86653db98aa8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 20 04:10:37 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 24 10:55:27 2023 +0000
URL:        https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=2cb70c06

CI: add Python 3.12 alphas

Signed-off-by: Sam James <sam <AT> gentoo.org>
Closes: https://github.com/pkgcore/snakeoil/pull/96
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/test.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 51e539af..31760dcb 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -16,9 +16,9 @@ jobs:
         python-version: ['3.9', '3.10', '3.11', 'pypy-3.9']
         experimental: [false]
         include:
-          # - os: ubuntu-latest
-          #   python-version: '3.11.0-beta - 3.11'
-          #   experimental: true
+          - os: ubuntu-latest
+            python-version: '3.12-dev'
+            experimental: true
           - os: macos-latest
             python-version: '3.10'
             experimental: false


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
@ 2022-12-25 18:15 Arthur Zamarin
  0 siblings, 0 replies; 12+ messages in thread
From: Arthur Zamarin @ 2022-12-25 18:15 UTC (permalink / raw
  To: gentoo-commits

commit:     44476071ce4f88049afdcbb143975fd598eaf09f
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 25 18:14:26 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 25 18:14:26 2022 +0000
URL:        https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=44476071

ci: add black format check

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/test.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 7e05284c..51e539af 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -56,3 +56,10 @@ jobs:
       uses: codecov/codecov-action@v3
       with:
         files: ./coverage.xml
+
+  format:
+    runs-on: ubuntu-latest
+    steps:
+    - name: Checkout code
+      uses: actions/checkout@v3
+    - uses: psf/black@stable


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
@ 2022-11-08 18:40 Arthur Zamarin
  0 siblings, 0 replies; 12+ messages in thread
From: Arthur Zamarin @ 2022-11-08 18:40 UTC (permalink / raw
  To: gentoo-commits

commit:     6e4702f689f6260c36bb656ab06d6c84036cd2fc
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  8 18:40:20 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Nov  8 18:40:20 2022 +0000
URL:        https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=6e4702f6

drop pypy-3.8 support

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/test.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 389746d5..7e05284c 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -13,7 +13,7 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-latest]
-        python-version: ['3.9', '3.10', '3.11', 'pypy-3.8', 'pypy-3.9']
+        python-version: ['3.9', '3.10', '3.11', 'pypy-3.9']
         experimental: [false]
         include:
           # - os: ubuntu-latest


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
@ 2022-10-04 10:05 Arthur Zamarin
  0 siblings, 0 replies; 12+ messages in thread
From: Arthur Zamarin @ 2022-10-04 10:05 UTC (permalink / raw
  To: gentoo-commits

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


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-01-26  9:24 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-03 18:05 [gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/ Arthur Zamarin
  -- strict thread matches above, loose matches on Subject: below --
2024-01-26  9:24 Arthur Zamarin
2024-01-26  9:21 Arthur Zamarin
2024-01-26  9:19 Arthur Zamarin
2024-01-19  9:59 Arthur Zamarin
2023-12-22 15:03 Arthur Zamarin
2023-06-23  5:21 Arthur Zamarin
2023-05-17 19:10 Arthur Zamarin
2023-03-24 10:55 Arthur Zamarin
2022-12-25 18:15 Arthur Zamarin
2022-11-08 18:40 Arthur Zamarin
2022-10-04 10:05 Arthur Zamarin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox