fix: coba

This commit is contained in:
rizaldy 2024-01-31 03:32:24 +07:00
parent 9258f93846
commit 4356ea92c0
2 changed files with 20 additions and 26 deletions

View File

@ -20,9 +20,6 @@ jobs:
MINIO_SECRET_KEY: ${{ secrets.MINIO_SECRET_KEY }} MINIO_SECRET_KEY: ${{ secrets.MINIO_SECRET_KEY }}
MINIO_BUCKET: ${{ secrets.MINIO_BUCKET }} MINIO_BUCKET: ${{ secrets.MINIO_BUCKET }}
PEERTUBE_FEED_URL: ${{ secrets.PEERTUBE_FEED_URL }} PEERTUBE_FEED_URL: ${{ secrets.PEERTUBE_FEED_URL }}
UMAMI_ENABLED: ${{ env.UMAMI_ENABLED }}
UMAMI_SCRIPT_URL: ${{ env.UMAMI_SCRIPT_URL }}
UMAMI_WEBSITE_ID: ${{ env.UMAMI_WEBSITE_ID }}
- uses: peaceiris/actions-gh-pages@v3 - uses: peaceiris/actions-gh-pages@v3
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -15,9 +15,7 @@ const Content = ({ children }) => (
</div> </div>
); );
const App = ({ Component, pageProps }) => { const App = ({ Component, pageProps }) => (
console.log(process.env.UMAMI_ENABLED);
return (
<Fragment> <Fragment>
<Navbar name={config.navbar.logotype} logo={config.navbar.logo} /> <Navbar name={config.navbar.logotype} logo={config.navbar.logo} />
<Content> <Content>
@ -37,7 +35,6 @@ const App = ({ Component, pageProps }) => {
/> />
) : null} ) : null}
</Fragment> </Fragment>
); );
};
export default App; export default App;