From 4a24446fbb46c2ff6335a5c401c0f22e729d5d16 Mon Sep 17 00:00:00 2001 From: Lanta Date: Thu, 3 Apr 2025 09:28:53 +0200 Subject: [PATCH] remove --- .github/workflows/dtchsyn_v2.bck | 38 -------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 .github/workflows/dtchsyn_v2.bck diff --git a/.github/workflows/dtchsyn_v2.bck b/.github/workflows/dtchsyn_v2.bck deleted file mode 100644 index 49d096d..0000000 --- a/.github/workflows/dtchsyn_v2.bck +++ /dev/null @@ -1,38 +0,0 @@ -on: - push: - branches: - - dev - - main - -name: Publish Website -jobs: - web-deploy: - name: Deploy based on branch - runs-on: ubuntu-latest - steps: - - name: Set destination path based on branch - id: set-destination - run: | - if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then - echo "DESTINATION=/Lantaeu/dtch/" >> $GITHUB_ENV - else - echo "DESTINATION=/Lantaeu/dtch_dev/" >> $GITHUB_ENV - fi - - - name: Checkout code - uses: actions/checkout@v4 - - - name: Show upload destination - run: | - echo "Uploading to: $DESTINATION" - - - name: Upload via SFTP - uses: pressidium/lftp-mirror-action@v1 - with: - host: ${{ secrets.SYNADDR }} - port: 22 - user: ${{ secrets.SYNUSR }} - pass: ${{ secrets.SYNPASS }} - localDir: ./ - remoteDir: ${{ env.DESTINATION }} - args: "--exclude-glob *.git --exclude-glob config.php --exclude-glob data/**/*.json"