Skip to content

Fix setup script error handling & multisite #3

Fix setup script error handling & multisite

Fix setup script error handling & multisite #3

name: split-webentor-setup
on:
push:
tags:
- 'setup-v*'
workflow_dispatch:
inputs:
tag:
description: 'Tag to mirror (defaults to current ref tag)'
required: false
jobs:
split:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# Avoid inheriting github-actions[bot] credentials for git push.
persist-credentials: false
- name: Split and mirror setup package
env:
SETUP_MIRROR_REPO: ${{ secrets.SETUP_MIRROR_REPO }}
SETUP_MIRROR_TOKEN: ${{ secrets.SETUP_MIRROR_TOKEN }}
INPUT_TAG: ${{ github.event.inputs.tag }}
GITHUB_REF_NAME: ${{ github.ref_name }}
run: bash scripts/split-webentor-setup.sh