From 45215a3a1760455128fdadf848ae3e0d7c73e12e Mon Sep 17 00:00:00 2001 From: RanchiMall Dev Date: Mon, 18 Dec 2023 14:49:58 +0000 Subject: [PATCH] Workflow updating files of btcwallet --- .../.github/workflows/push-dappbundle.yml | 32 ------------------- btcwallet/.gitignore | 1 - 2 files changed, 33 deletions(-) delete mode 100644 btcwallet/.github/workflows/push-dappbundle.yml delete mode 100644 btcwallet/.gitignore diff --git a/btcwallet/.github/workflows/push-dappbundle.yml b/btcwallet/.github/workflows/push-dappbundle.yml deleted file mode 100644 index 0bcc6fc..0000000 --- a/btcwallet/.github/workflows/push-dappbundle.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Workflow push to Dappbundle -on: [push] -jobs: - build: - name: Build - runs-on: self-hosted - steps: - - name: Executing remote command - 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: | - if [ -d "${{ secrets.DEPLOYMENT_LOCATION}}/dappbundle" ]; then - echo "Folder exists. Skipping Git clone." - else - echo "Folder does not exist. Cloning repository..." - cd ${{ secrets.DEPLOYMENT_LOCATION}}/ && git clone https://github.com/ranchimall/dappbundle.git - fi - - if [ -d "${{ secrets.DEPLOYMENT_LOCATION}}/dappbundle/${{ github.event.repository.name }}" ]; then - echo "Repository exists. Remove folder " - rm -r "${{ secrets.DEPLOYMENT_LOCATION}}/dappbundle/${{ github.event.repository.name }}" - fi - - echo "Cloning repository..." - cd ${{ secrets.DEPLOYMENT_LOCATION}}/dappbundle && git clone https://github.com/ranchimall/${{ github.event.repository.name }} - - cd "${{ secrets.DEPLOYMENT_LOCATION}}/dappbundle/${{ github.event.repository.name }}" && rm -r .gitattributes - cd ${{ secrets.DEPLOYMENT_LOCATION}}/dappbundle/ && git add . && git commit -m "Workflow updating files of ${{ github.event.repository.name }}" && git push "https://ranchimalldev:${{ secrets.RM_ACCESS_TOKEN }}@github.com/ranchimall/dappbundle.git" \ 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