@@ -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 }}
@@ -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 }}
@@ -21,7 +21,7 @@ const Authorized: React.FunctionComponent<AuthorizedProps> = ({
authority,
noMatch = (
<Result
- status="403"
+ status={403}
title="403"
subTitle="Sorry, you are not authorized to access this page."
/>
@@ -25,7 +25,7 @@ import logo from '../assets/logo.svg';
const noMatch = (
extra={
@@ -7,7 +7,7 @@ import { router } from 'umi';
const NoFoundPage: React.FC<{}> = () => (
- status="404"
+ status={404}
title="404"
subTitle="Sorry, the page you visited does not exist."