diff --git a/.github/workflows/git-push.yml b/.github/workflows/git-push.yml index d3aaead0..32898267 100644 --- a/.github/workflows/git-push.yml +++ b/.github/workflows/git-push.yml @@ -17,6 +17,11 @@ jobs: run: sh ./build.sh - name: Check files after build run: ls -al ./output + - name: Delete .github directory + run: | + cd ./output + rm -rf .github + ls -al - name: Pushes to another repository id: push_directory uses: cpina/github-action-push-to-another-repository@main diff --git a/build.sh b/build.sh index 696c6fdb..0b960c3b 100644 --- a/build.sh +++ b/build.sh @@ -3,7 +3,4 @@ cd ../ mkdir output cp -R ./JOBIS-FE/. ./output cp -R ./output ./JOBIS-FE/ -cd ./output -ls -al -rm -rf .github -ls -al +