From b438ad818b9c23c51974bea515d17833290b3497 Mon Sep 17 00:00:00 2001 From: fal7w <147312030+fal7w@users.noreply.github.com> Date: Sat, 9 Dec 2023 16:35:45 +0300 Subject: [PATCH] Update down_site.yml --- .github/workflows/down_site.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/down_site.yml b/.github/workflows/down_site.yml index b2a62041..26dfbf8e 100644 --- a/.github/workflows/down_site.yml +++ b/.github/workflows/down_site.yml @@ -11,13 +11,15 @@ on: jobs: down_site: runs-on: - # - self-hosted - - ubuntu-latest + - self-hosted + # - ubuntu-latest steps: - name: drop site commond run: | - docker compose --project-name ${{ vars.BRANCH_NAME }} exec -T backend \ - bench drop-site --mariadb-root-password ${{ vars.MARIADB_PASSWORD }} ${{ vars.SITE_NAME }} + ${{ github.event.pull_request.head.ref }} + + # docker compose --project-name ${{ github.event.pull_request.head.ref }} exec -T backend \ + # bench drop-site --mariadb-root-password ${{ vars.MARIADB_PASSWORD }} ${{ github.event.pull_request.head.ref }}