From 7a2fa9c81a5c7048e11780489233d2ecf7a97a4c Mon Sep 17 00:00:00 2001 From: Toni Verbeiren Date: Thu, 7 Dec 2023 13:27:45 +0100 Subject: [PATCH] Update Github actions workflows --- .github/workflows/release-to-virusbank.yml | 16 ---------------- .github/workflows/release_to_netlify.yml | 1 - 2 files changed, 17 deletions(-) diff --git a/.github/workflows/release-to-virusbank.yml b/.github/workflows/release-to-virusbank.yml index 866b08bf..4b18d880 100644 --- a/.github/workflows/release-to-virusbank.yml +++ b/.github/workflows/release-to-virusbank.yml @@ -41,7 +41,6 @@ jobs: - name: Deploy to Netlify 🚀 uses: data-intuitive/netlify-deploy-site@v1 - if: github.ref == 'refs/head/main' with: auth: ${{ secrets.NETLIFY_AUTH_TOKEN }} site: ${{ env.NETLIFY_SITE_ID }} @@ -51,7 +50,6 @@ jobs: - name: Deploy preview to VirusBank id: deploy_virusbank - if: github.ref == 'refs/head/main' uses: SamKirkland/FTP-Deploy-Action@v4.3.4 with: server: ftp.virusbankplatformorg.webhosting.be @@ -60,17 +58,3 @@ jobs: local-dir: './_site/' log-level: standard # dangerous-clean-slate: true - - - uses: thollander/actions-comment-pull-request@v2 - if: github.event_name == 'pull_request' - with: - message: | - [![Deploy: success](https://img.shields.io/badge/Deploy-success-success)](${{ steps.deploy_preview.outputs.deploy-url }}) - comment_tag: deploy_status - - - uses: thollander/actions-comment-pull-request@v2 - if: github.event_name == 'pull_request' && failure() - with: - message: | - [![Deploy: failure](https://img.shields.io/badge/Deploy-failure-critical)]${{ steps.deploy_preview.outputs.logs }}) - comment_tag: deploy_status diff --git a/.github/workflows/release_to_netlify.yml b/.github/workflows/release_to_netlify.yml index 943b4801..61adced1 100644 --- a/.github/workflows/release_to_netlify.yml +++ b/.github/workflows/release_to_netlify.yml @@ -6,7 +6,6 @@ on: - opened - reopened - synchronize - - closed name: Render and deploy to Netlify