From 208c4233df77aab18f372931c626a4c1cdf499b9 Mon Sep 17 00:00:00 2001 From: Refringe Date: Sat, 7 Dec 2024 11:47:26 -0500 Subject: [PATCH] Removes Gitea Action --- .gitea/workflows/deploy.yaml | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 .gitea/workflows/deploy.yaml diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml deleted file mode 100644 index 95da609..0000000 --- a/.gitea/workflows/deploy.yaml +++ /dev/null @@ -1,36 +0,0 @@ -name: Deploy - -on: - push: - branches: [main] - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - path: /workspace/SPT/DB-Website - fetch-depth: 0 - - - name: List files - run: ls -lah - shell: bash - with: - path: /workspace/SPT/DB-Website - - - name: Setup known_hosts - run: | - mkdir -p ~/.ssh - echo "${{ secrets.SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts - - - name: Setup SSH key - uses: webfactory/ssh-agent@v0.9.0 - with: - ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - - - name: Push to production - run: | - git remote add deploy ssh://dbwebsite@51.195.101.201/home/dbwebsite/DB-Website.git - git push deploy main:main