diff --git a/.github/workflows/GitHub_Pages_Deploy.yml b/.github/workflows/GitHub_Pages_Deploy.yml deleted file mode 100644 index e858743e..00000000 --- a/.github/workflows/GitHub_Pages_Deploy.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: Deploy to GitHub Pages -on: [push] -jobs: - Deploy: - name: Deploy to GitHub Pages - runs-on: ubuntu-latest - if: success() && github.event == 'push' && github.ref == 'master' - steps: - - name: publish - uses: maxheld83/ghpages@v0.2.1 - env: - BUILD_DIR: 'dist/' - GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 635fe115..fb3e51eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,3 +25,13 @@ jobs: PROGRESS: none NODE_ENV: test NODE_OPTIONS: --max_old_space_size=4096 + deploy: + name: Deploy to GitHub Pages + runs-on: ubuntu-latest + if: success() && github.event == 'push' && github.ref == 'master' + steps: + - name: publish + uses: maxheld83/ghpages@v0.2.1 + env: + BUILD_DIR: 'dist/' + GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} diff --git a/src/components/Authorized/Authorized.tsx b/src/components/Authorized/Authorized.tsx index d91b7b55..36af4c63 100644 --- a/src/components/Authorized/Authorized.tsx +++ b/src/components/Authorized/Authorized.tsx @@ -21,7 +21,7 @@ const Authorized: React.FunctionComponent = ({ authority, noMatch = ( diff --git a/src/layouts/BasicLayout.tsx b/src/layouts/BasicLayout.tsx index 4cf97620..f82e2afb 100644 --- a/src/layouts/BasicLayout.tsx +++ b/src/layouts/BasicLayout.tsx @@ -25,7 +25,7 @@ import logo from '../assets/logo.svg'; const noMatch = ( = () => (