1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-07-07 04:19:17 +02:00

build testing

This commit is contained in:
GilbN 2022-04-09 16:44:45 +02:00
parent f4dfd80722
commit 5914b4e889
2 changed files with 15 additions and 4 deletions

View File

@ -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

View File

@ -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%);