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 d82485b  fix path
d82485b is described below

commit d82485bdf8d0d07c2211d1c6fc83719cbf34075e
Author: Glaucia Esppenchutz <[email protected]>
AuthorDate: Sun Dec 3 19:40:40 2023 +0000

    fix path
---
 .github/workflows/main.yaml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index f87537f..1b2fe9a 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -123,17 +123,18 @@ jobs:
         run: |
           mkdir ../$BRANCH_PAGE
           cd ../$BRANCH_PAGE
-          git clone https://github.com/apache/incubator-wayang-website.git 
--branch $BRANCH_PAGE /tmp/$BRANCH_PAGE
+          git clone https://github.com/apache/incubator-wayang-website.git 
--branch $BRANCH_PAGE ../$BRANCH_PAGE
 
       - name: Delete the old file that it was not gerenated
         run: |
+          cd ../$BRANCH_PAGE
           rm -rf $(diff --exclude=".git" --exclude="./docs" -q ../tmp/ ./ | 
awk '/Only in \.\//{print substr($3, 1, length($3)-1) "" $4}')
 
       - name: Syncing files
         run: |
-          rsync -av ../tmp/* ./tmp/$BRANCH_PAGE
-          cp ../tmp/.gitignore ./tmp/$BRANCH_PAGE
-          cp ../tmp/.asf.yaml ./tmp/$BRANCH_PAGE
+          rsync -av ../tmp/* ./
+          cp ../tmp/.gitignore ./
+          cp ../tmp/.asf.yaml ./
 
       # Commenting this step while we understand if still necessary
       - name: Commiting changes on Travis branch

Reply via email to