Removed dev branch from runner, as this is live updated via WSS after local edits.
Because this runs via NPM RUN DEV, on an adjacent port to 3000, the CICD runner is superfluous here.
This commit is contained in:
@@ -4,7 +4,6 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- dev
|
||||
|
||||
env:
|
||||
FRONTEND_HOST: psg-leagues-tools-frontend
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
name: Build and Deploy to GH Pages
|
||||
on: [workflow_dispatch]
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install and build
|
||||
run: |
|
||||
npm install
|
||||
npm run build
|
||||
env:
|
||||
REACT_APP_GA_MID: ${{ secrets.REACT_APP_GA_MID }}
|
||||
|
||||
- name: Deploy to GitHub Pages
|
||||
if: success()
|
||||
uses: crazy-max/ghaction-github-pages@v2
|
||||
with:
|
||||
target_branch: gh-pages
|
||||
build_dir: build
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -60,3 +60,4 @@ blake2tokenhasher-test/*.*
|
||||
group-ironmen-master/*.*
|
||||
group-ironmen-tracker-master/*.*
|
||||
tasks-tracker-plugin-master/*.*
|
||||
os-league-tools-master/build.tar.gz
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user