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

franztt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openserverless-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 7174122  Added privacy link (#35)
7174122 is described below

commit 7174122efddd590c75a8f6009b8e04fb489556ab
Author: Bruno Salzano <[email protected]>
AuthorDate: Tue Oct 29 08:00:02 2024 +0100

    Added privacy link (#35)
    
    * fix: github action
    
    reverted github action
    
    * fix: github action (#34)
    
    reverted github action
    
    * chore: added privacy link
    
    All websites must link to the Privacy Policy.
    
    * chore: releases page
    
    Put draft true to releases page
---
 .github/workflows/build.yml        | 7 +------
 content/en/blog/releases/_index.md | 1 +
 hugo.yaml                          | 6 +++++-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d6df788..2c1c122 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,4 +1,4 @@
-name: website
+name: build
 
 on:
   push:
@@ -13,7 +13,6 @@ permissions:
 
 jobs:
   publish:
-    if: github.event_name == 'push' || github.event.pull_request.merged == 
true && github.event.pull_request.base.ref == 'main'
     runs-on: ubuntu-latest
     steps:
       - name: Checkout repository
@@ -24,10 +23,6 @@ jobs:
         with:
           ref: asf-site
           path: ${{ env.PUBLISH_DIRECTORY }}
-      #- name: Install Asciidoctor
-      #  run: |
-      #    sudo apt-get update
-      #    sudo apt-get install -y asciidoctor
       - name: Prepare
         working-directory: ${{ env.PUBLISH_DIRECTORY }}
         run: |
diff --git a/content/en/blog/releases/_index.md 
b/content/en/blog/releases/_index.md
index 9143a23..2e6478a 100644
--- a/content/en/blog/releases/_index.md
+++ b/content/en/blog/releases/_index.md
@@ -1,4 +1,5 @@
 ---
 title: Releases
 weight: 20
+draft: true
 ---
diff --git a/hugo.yaml b/hugo.yaml
index 6779987..c95a1f7 100644
--- a/hugo.yaml
+++ b/hugo.yaml
@@ -92,10 +92,14 @@ menus:
       parent: "Apache Software Foundation"
       url: "https://www.apache.org/security/";
       weight: 5
+    - name: "Privacy"
+      parent: "Apache Software Foundation"
+      url: "https://privacy.apache.org/policies/privacy-policy-public.html";
+      weight: 6
     - name: "Events"
       parent: "Apache Software Foundation"
       url: "https://www.apache.org/events/current-event";
-      weight: 6
+      weight: 7
 
 params:
   taxonomy:

Reply via email to