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_BUCKET: ${{ secrets.MINIO_BUCKET }}
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
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

View File

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