Some checks are pending
Module sub-split / Sub-split (push) Waiting to run
- Base: wintercms/winter branch 1.2 (full framework) - Theme vivespos: Canvas 7 + Bootstrap 5 CDN, custom CSS - Layout: deferred GTM/GA4 tracking, JSON-LD SoftwareApplication - Partials: hero (offline-first), features, modes (offline/nube toggle), screenshots, pricing (3 planes), comparison, FAQ, CTA - Plugin VivesPOS.Site with ContactForm - Dockerfile: PHP 8.2 Apache, port 80, healthcheck - Added winter/wn-pages, blog, sitemap, seo plugins - Active theme set to vivespos
33 lines
1.2 KiB
YAML
33 lines
1.2 KiB
YAML
name: Module sub-split
|
|
|
|
on:
|
|
push:
|
|
# Branches only. Tag pushes are handled by the `create` event below; without
|
|
# this filter they would also fire here and pass the tag name to `split -b`,
|
|
# which then fails looking for a branch that doesn't exist.
|
|
branches:
|
|
- "**"
|
|
create:
|
|
delete:
|
|
|
|
jobs:
|
|
split:
|
|
name: Sub-split
|
|
runs-on: ubuntu-latest
|
|
container: wintercms/cli:0.3.4
|
|
env:
|
|
WINTER_CLI_GITHUB_TOKEN: ${{ secrets.WINTER_SPLIT_TOKEN }}
|
|
steps:
|
|
- name: Create tag
|
|
if: github.event_name == 'create' && github.ref_type == 'tag'
|
|
run: winter split -a "${{ github.ref_name }}"
|
|
- name: Delete branch
|
|
if: github.event_name == 'delete' && github.ref_type == 'branch'
|
|
run: winter split --remove-branch="${{ github.event.ref }}"
|
|
- name: Delete tag
|
|
if: github.event_name == 'delete' && github.ref_type == 'tag'
|
|
run: winter split --remove-tag="${{ github.event.ref }}"
|
|
- name: Push
|
|
if: github.event_name == 'push'
|
|
run: winter split -b "${{ github.ref_name }}"
|