frappe_docker/.github/workflows/down_site.yml
2023-12-09 16:35:45 +03:00

25 lines
557 B
YAML

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 }}