From c6cf03e94e53ba058dbf9f830b539c0adde5683d Mon Sep 17 00:00:00 2001 From: heinu123 Date: Mon, 13 May 2024 13:14:13 +0800 Subject: [PATCH] fix bug --- .github/workflows/build.yaml | 4 ++-- .gitignore | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100755 .gitignore diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d889f11..2067928 100755 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -20,6 +20,7 @@ jobs: - name: Execute Python script run: | + git clone "https://${{ github.actor }}:${{ secrets.TOKEN }}@github.com/${{ github.repository }}" push && cd push mkdir out python main.py cd out @@ -37,8 +38,7 @@ jobs: - name: Git push run: | - git clone "https://${{ github.actor }}:${{ secrets.TOKEN }}@github.com/${{ github.repository }}" push - cp -Rf out/* push/ + cp -Rf push/out/* push/ cd push files=$(find . -name '*AWAvenue*') echo $files diff --git a/.gitignore b/.gitignore new file mode 100755 index 0000000..762f0b2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +out +script/__pycache__ \ No newline at end of file