mirror of
https://github.com/gilbN/theme.park.git
synced 2024-07-15 00:57:32 +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
|
||||
|
@ -80,7 +80,7 @@ a:hover {
|
||||
border: 1px solid rgba(255, 255, 255, .1);
|
||||
}
|
||||
|
||||
.page-link:focus {
|
||||
.page-link:focus {
|
||||
z-index: 3;
|
||||
outline: 0;
|
||||
box-shadow: 0 0 0 0.2rem rgb(var(--accent-color) / 25%);
|
||||
|
Loading…
Reference in New Issue
Block a user