You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by mg...@apache.org on 2022/12/19 22:20:53 UTC

[avro] branch avro-3686-asf.yaml-docs updated (cd625e7f8 -> 67b430d10)

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

mgrigorov pushed a change to branch avro-3686-asf.yaml-docs
in repository https://gitbox.apache.org/repos/asf/avro.git


 discard cd625e7f8 AVRO-3886: Install NPM and PostCSS
     new 67b430d10 AVRO-3886: Install NPM and PostCSS

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (cd625e7f8)
            \
             N -- N -- N   refs/heads/avro-3686-asf.yaml-docs (67b430d10)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/docs.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


[avro] 01/01: AVRO-3886: Install NPM and PostCSS

Posted by mg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch avro-3686-asf.yaml-docs
in repository https://gitbox.apache.org/repos/asf/avro.git

commit 67b430d10075fb9cb6378840b9e18f649e80f15a
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Tue Dec 20 00:18:36 2022 +0200

    AVRO-3886: Install NPM and PostCSS
    
    Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>
---
 .github/workflows/docs.yaml | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml
index ea24337f7..ecde36531 100644
--- a/.github/workflows/docs.yaml
+++ b/.github/workflows/docs.yaml
@@ -45,10 +45,12 @@ jobs:
             echo "Unsupported input: ${{ github.ref }} / ${{ github.ref_type }}"
             exit 1
           fi
+
       - name: Checkout docs sources
         uses: actions/checkout@v3
         with:
           submodules: recursive
+
       - name: Checkout docs target branch
         uses: actions/checkout@v3
         with:
@@ -56,17 +58,30 @@ jobs:
           ref: ${{ steps.target-branch.outputs.value }}
           path: docs-target
 
+      - uses: actions/setup-node@v3
+        with:
+          node-version: 16
+
+      - name: Install NPM dependencies
+        run: |
+          set -x
+          cd doc
+          npm install
+
       - name: Setup Hugo
         uses: peaceiris/actions-hugo@v2
         with:
           hugo-version: 0.108.0
           extended: true
+
       - name: Build docs
         run: |
           set -x
           cd doc
           hugo --minify --destination ../output
+
       # TODO build the C/C++/C# docs
+
       - name: Copy & push the generated HTML
         run: |
           set -x
@@ -74,7 +89,7 @@ jobs:
           # delete anything but: 1) '.'; 2) '..'; 3) .git/
           find ./ | grep -vE "^./$|^../$|^./.git" | xargs rm -rf
           cp ../.asf.yaml .
-          cp -r ../docs/public/* .
+          cp -r ../doc/public/* .
           # TODO copy the C/C++/C# docs
           if [ "$(git status --porcelain)" != "" ]; then
             git config user.name "github-actions[bot]"