Skip to content

Commit

Permalink
disabled sitemap update
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthVan committed Jan 28, 2024
1 parent ba1cdd4 commit 75f5170
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
Expand Down Expand Up @@ -67,13 +67,13 @@ jobs:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-artifact@v4
with:
# Upload dist repository
path: './dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v3

2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default defineConfig(({ command, mode }: ConfigEnv) => {
reactPlugin({
include: '**/*.{jsx,tsx}',
}),
updateSitemap(buildDir),
isLocal ? updateSitemap(buildDir) : null,
],
server: {
port: 8080,
Expand Down

0 comments on commit 75f5170

Please sign in to comment.