name: down site base on project name on: workflow_dispatch: # on: pull_request: types: - closed workflow_call: jobs: down_site: runs-on: - self-hosted # - ubuntu-latest steps: - name: drop site commond run: | ${{ 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 }}