Skip to content

Commit

Permalink
Merge commit 'd767ea595b779ef5a9b3d471a3e6533be07bb57b'
Browse files Browse the repository at this point in the history
  • Loading branch information
jercymat committed Nov 18, 2024
2 parents c163cdb + d767ea5 commit b6665db
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Deploy to GitHub Pages
on:
release:
types: [published]
push:
branches:
- master

jobs:
build:
Expand Down Expand Up @@ -37,6 +40,10 @@ jobs:

deploy:
runs-on: ubuntu-latest

# Only run this job when release has been published
if: github.event_name == 'release' && github.event.action == 'published'

needs: build
steps:
- name: Download Build Artifacts
Expand Down
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { BrowserRouter, HashRouter, Route, Routes } from 'react-router-dom';
import { HashRouter, Route, Routes } from 'react-router-dom';
import { DefaultLayout } from './views/layouts';
import { Provider } from 'react-redux';
import store from './store';
Expand Down

0 comments on commit b6665db

Please sign in to comment.