This is an automated email from the ASF dual-hosted git repository.

jrudolph pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-http.git


The following commit(s) were added to refs/heads/main by this push:
     new 38e1f22fa publish nightlies only nightly and not for every main commit 
(#56)
38e1f22fa is described below

commit 38e1f22fa977d9d57731684d6057873a0477baab
Author: Johannes Rudolph <[email protected]>
AuthorDate: Tue Feb 14 15:18:31 2023 +0100

    publish nightlies only nightly and not for every main commit (#56)
---
 .github/workflows/publish.yml | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index dc3b3b39c..7c2c2ff72 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -1,12 +1,13 @@
-name: Publish
+name: Publish nightly snapshots and documentation
 
 on:
-  push:
-    branches: [ main ]
+  schedule:
+    - cron: "0 3 * * *"
+  workflow_dispatch:
 
 jobs:
   publish-artifacts:
-    name: Publish artifacts to Sonatype
+    name: Publish artifacts to Apache Nexus
     runs-on: ubuntu-latest
     if: github.repository == 'apache/incubator-pekko-http'
     steps:
@@ -33,7 +34,7 @@ jobs:
           NEXUS_PW: ${{ secrets.NEXUS_PW }}
 
   publish-docs:
-    name: Publish documentation
+    name: Publish documentation to nightlies.apache.org
     runs-on: ubuntu-latest
     if: github.repository == 'apache/incubator-pekko-http'
     steps:


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to