From 4d32ce97b52a379f48e63517d5ccba5b5efeaa7a Mon Sep 17 00:00:00 2001 From: David Olayemi <38155220+Olat-nji@users.noreply.github.com> Date: Sat, 14 Sep 2024 01:37:08 +0100 Subject: [PATCH] Delete .github/workflows/prod.yml --- .github/workflows/prod.yml | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 .github/workflows/prod.yml diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml deleted file mode 100644 index 1c2422c..0000000 --- a/.github/workflows/prod.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Laravel CI PROD - -on: - workflow_run: - workflows: ["Release"] - types: - - completed - -jobs: - deploy: - runs-on: [langlearn,langlearn-server] - - steps: - - name: Deploy to server - run: | - echo "About to Deploy" - cd /var/www/delve-be/main - eval $(ssh-agent) - ssh-add ~/.ssh/delve - git pull origin main - latest_version=$(git describe --tags `git rev-list --tags --max-count=1`) - sed -i "s/^VERSION=.*/VERSION=$latest_version/" .env - composer install --no-dev - php artisan migrate --force -