Fix setup script error handling & multisite #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |