You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wayang.apache.org by gl...@apache.org on 2023/12/03 19:26:20 UTC

(incubator-wayang-website) branch feature/new-website updated: copying files to a tmp folder

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

glauesppen pushed a commit to branch feature/new-website
in repository https://gitbox.apache.org/repos/asf/incubator-wayang-website.git


The following commit(s) were added to refs/heads/feature/new-website by this push:
     new 4a0a683  copying files to a tmp folder
4a0a683 is described below

commit 4a0a683833142bcc2581ca304dee9a47df27cbc5
Author: Glaucia Esppenchutz <gl...@apache.org>
AuthorDate: Sun Dec 3 19:26:12 2023 +0000

    copying files to a tmp folder
---
 .github/workflows/main.yaml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index 46be97a..f87537f 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -123,7 +123,7 @@ jobs:
         run: |
           mkdir ../$BRANCH_PAGE
           cd ../$BRANCH_PAGE
-          git clone --depth 50 --branch $BRANCH_PAGE $(git remote get-url origin)
+          git clone https://github.com/apache/incubator-wayang-website.git --branch $BRANCH_PAGE /tmp/$BRANCH_PAGE
 
       - name: Delete the old file that it was not gerenated
         run: |
@@ -131,9 +131,9 @@ jobs:
 
       - name: Syncing files
         run: |
-          rsync -av ../tmp/* ./
-          cp ../tmp/.gitignore ./
-          cp ../tmp/.asf.yaml ./
+          rsync -av ../tmp/* ./tmp/$BRANCH_PAGE
+          cp ../tmp/.gitignore ./tmp/$BRANCH_PAGE
+          cp ../tmp/.asf.yaml ./tmp/$BRANCH_PAGE
 
       # Commenting this step while we understand if still necessary
       - name: Commiting changes on Travis branch