From 5b523a665f514b48e3b3519d6f6e469194c5d2ff Mon Sep 17 00:00:00 2001 From: monosans Date: Thu, 29 Aug 2024 12:38:10 +0300 Subject: [PATCH] Remove demo --- .github/workflows/demo.yml | 63 -------------------------------------- 1 file changed, 63 deletions(-) delete mode 100644 .github/workflows/demo.yml diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml deleted file mode 100644 index 8496a2f85..000000000 --- a/.github/workflows/demo.yml +++ /dev/null @@ -1,63 +0,0 @@ -name: Demo -on: - push: - branches: - - master - workflow_dispatch: -concurrency: - group: ${{ github.workflow }} - cancel-in-progress: true -jobs: - demo: - strategy: - matrix: - include: - - tool: django - repo: https://github.com/django/django - profile: django - args: --indent 2 - - tool: wagtail - repo: https://github.com/wagtail/wagtail - profile: django - args: --indent 4 - - tool: pallets - repo: https://github.com/pallets/website - profile: jinja - args: --indent 2 - - tool: apostrophe - repo: https://github.com/apostrophecms/apostrophe - profile: nunjucks - args: --indent 2 - - tool: bolt - repo: https://github.com/bolt/core - profile: nunjucks - args: --indent 4 - - tool: sylius - repo: https://github.com/Sylius/Sylius - profile: nunjucks - args: --indent 2 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - run: pipx install poetry - - uses: actions/setup-python@v5 - with: - python-version: 3.x - cache: poetry - check-latest: true - - run: poetry install --only main --sync --no-root --no-interaction - - run: git clone --depth 1 '${{ matrix.repo }}' '${{ matrix.tool }}_raw' - - run: mkdir '${{ matrix.tool }}_source' - - run: find "${{ matrix.tool }}_raw" -iname '*.html*' -exec mv '{}' "${{ matrix.tool }}_source/" \; - - run: rm -rf '${{ matrix.tool }}_raw' - - run: | - git config --global user.name 'github-actions[bot]' - git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com' - git checkout --orphan 'demo-${{ matrix.tool }}' - git add -A - git commit -m 'git clone ${{ matrix.repo }}' - poetry run python -m djlint . --profile=${{ matrix.profile }} --reformat --warn --quiet ${{ matrix.args }} - git add -A - git commit -m "Reformat with djLint v$(poetry version --short)" - git push - working-directory: '${{ matrix.tool }}_source'