mirror of
https://github.com/gilbN/theme.park.git
synced 2024-10-05 15:07:11 +02:00
build testing
This commit is contained in:
parent
f4dfd80722
commit
5914b4e889
17
.github/workflows/minify-and-deploy.yml
vendored
17
.github/workflows/minify-and-deploy.yml
vendored
@ -4,10 +4,21 @@ on:
|
||||
branches:
|
||||
- master
|
||||
- develop
|
||||
- testing
|
||||
paths-ignore:
|
||||
- 'docker-mods/**'
|
||||
- '.vscode/**'
|
||||
- '.github/**'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
branch:
|
||||
description: 'Select branch'
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- master
|
||||
- develop
|
||||
- testing
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
@ -53,7 +64,7 @@ jobs:
|
||||
done
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
if: ${{ github.ref == 'refs/heads/master' }}
|
||||
if: ${{ github.ref == 'refs/heads/master' || github.event.inputs.branch == 'master' }}
|
||||
with:
|
||||
publish_dir: ./
|
||||
publish_branch: live
|
||||
@ -61,7 +72,7 @@ jobs:
|
||||
exclude_assets: ''
|
||||
- name: Deploy Develop
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
if: ${{ github.ref == 'refs/heads/develop' }}
|
||||
if: ${{ github.ref == 'refs/heads/develop' || github.event.inputs.branch == 'develop' }}
|
||||
with:
|
||||
publish_dir: ./
|
||||
publish_branch: live_develop
|
||||
@ -69,7 +80,7 @@ jobs:
|
||||
exclude_assets: ''
|
||||
- name: Deploy Testing
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
if: ${{ github.ref == 'refs/heads/testing' }}
|
||||
if: ${{ github.ref == 'refs/heads/testing' || github.event.inputs.branch == 'testing' }}
|
||||
with:
|
||||
publish_dir: ./
|
||||
publish_branch: live_testing
|
||||
|
Loading…
Reference in New Issue
Block a user