From ff3e7b3ab348d993ec08226127b6c2578a082f12 Mon Sep 17 00:00:00 2001 From: ranchimall Date: Fri, 6 Mar 2026 12:41:59 +0000 Subject: [PATCH] Auto-update btcwallet --- btcwallet/.gitattributes | 2 - .../.github/workflows/push-dappbundle.yml | 49 ------------------- btcwallet/.gitignore | 1 - 3 files changed, 52 deletions(-) delete mode 100644 btcwallet/.gitattributes delete mode 100644 btcwallet/.github/workflows/push-dappbundle.yml delete mode 100644 btcwallet/.gitignore diff --git a/btcwallet/.gitattributes b/btcwallet/.gitattributes deleted file mode 100644 index dfe0770..0000000 --- a/btcwallet/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -# Auto detect text files and perform LF normalization -* text=auto diff --git a/btcwallet/.github/workflows/push-dappbundle.yml b/btcwallet/.github/workflows/push-dappbundle.yml deleted file mode 100644 index 543f252..0000000 --- a/btcwallet/.github/workflows/push-dappbundle.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: Deploy to Dappbundle - -on: - push: - branches: - - main - -jobs: - build: - name: Deploy - runs-on: ubuntu-latest - - steps: - - name: Deploy via SSH - uses: appleboy/ssh-action@v1.0.0 - with: - host: ${{ secrets.R_HOST }} - username: ${{ secrets.P_USERNAME }} - password: ${{ secrets.P_PASSWORD }} - port: ${{ secrets.SSH_PORT }} - script: | - set -e - - BASE="${{ secrets.DEPLOYMENT_LOCATION }}" - APP="${{ github.event.repository.name }}" - - echo "== Ensuring dappbundle repo exists ==" - - if [ ! -d "$BASE/dappbundle/.git" ]; then - echo "Cloning dappbundle..." - git clone git@gitea.ranchimall.net:RanchiMall/dappbundle.git "$BASE/dappbundle" - else - echo "Updating dappbundle..." - cd "$BASE/dappbundle" - git pull - fi - - echo "== Refreshing app bundle ==" - - rm -rf "$BASE/dappbundle/$APP" - git clone git@gitea.ranchimall.net:RanchiMall/$APP.git "$BASE/dappbundle/$APP" - - cd "$BASE/dappbundle" - git config user.email "ranchimallfze@gmail.com" - git config user.name "ranchimall" - - git add . - git commit -m "Auto-update $APP" || echo "No changes to commit" - git push \ No newline at end of file diff --git a/btcwallet/.gitignore b/btcwallet/.gitignore deleted file mode 100644 index 168b657..0000000 --- a/btcwallet/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.tmp* \ No newline at end of file