From caf6137ca39fd7b6d7ae7afa73ea0d3cf43ffaaf Mon Sep 17 00:00:00 2001 From: Spythere Date: Thu, 1 Jan 2026 21:14:55 +0100 Subject: [PATCH] chore: removed new vps settings for old branch --- .github/workflows/github-discord-releases.yml | 17 -------------- .github/workflows/vps-deploy.yml | 23 ------------------- 2 files changed, 40 deletions(-) delete mode 100644 .github/workflows/github-discord-releases.yml delete mode 100644 .github/workflows/vps-deploy.yml diff --git a/.github/workflows/github-discord-releases.yml b/.github/workflows/github-discord-releases.yml deleted file mode 100644 index ba18f07..0000000 --- a/.github/workflows/github-discord-releases.yml +++ /dev/null @@ -1,17 +0,0 @@ -on: - release: - types: [published] - -jobs: - github-releases-to-discord: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Github Releases To Discord - uses: SethCohen/github-releases-to-discord@v1.13.1 - with: - webhook_url: ${{ secrets.WEBHOOK_URL }} - color: "15844367" - footer_title: "Changelog - Stacjownik" - footer_timestamp: true \ No newline at end of file diff --git a/.github/workflows/vps-deploy.yml b/.github/workflows/vps-deploy.yml deleted file mode 100644 index 00496f0..0000000 --- a/.github/workflows/vps-deploy.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Build & Deploy to VPS - -on: - push: - branches: - - master - -env: - PROJECT_NAME: stacjownik - -jobs: - build_and_deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Build the app - run: yarn && yarn build - - name: Setup SSH key for connection with the server - run: | - mkdir -p ~/.ssh - echo "${{ secrets.VPS_SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa - - name: Send new files - run: rsync -avP -e "ssh -o StrictHostKeyChecking=no -i ~/.ssh/id_rsa -p 2022" ./dist/ ${{ secrets.VPS_USER }}@${{ secrets.VPS_HOST }}:/var/www/$PROJECT_NAME --delete \ No newline at end of file