From 6fac05057cfb88989f8da040ddcb193e3fb35b7a Mon Sep 17 00:00:00 2001 From: Carsten Graf Date: Sat, 26 Jul 2025 16:44:17 +0200 Subject: [PATCH] CI --- .github/workflows/build.yml | 4 +--- .github/workflows/sync-data.yml | 28 ---------------------------- 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 .github/workflows/sync-data.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d85d57a..1a385fa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,3 @@ -name: PlatformIO CI (esp32thing only) - on: [push] jobs: @@ -36,4 +34,4 @@ jobs: tag_name: "${{ github.ref_name }}" files: firmware.bin env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/sync-data.yml b/.github/workflows/sync-data.yml deleted file mode 100644 index 66a6bbd..0000000 --- a/.github/workflows/sync-data.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Sync Folder to Another Repo - -on: - push: - paths: - - 'data/**' - -jobs: - sync: - runs-on: ubuntu-latest - steps: - - name: Checkout source repo - uses: actions/checkout@v3 - - - name: Copy folder and push to target repo - run: | - mkdir temp - cp -r data/* temp/ - cd temp - - git init - git config user.name "Gitea Action Bot" - git config user.email "action@gitea.local" - - git remote add origin https://${TOKEN}@git.reptilfpv.de/reptil1990/AquaMasterFrontend - git add . - git commit -m "Sync data from source repo" - git push --force origin main