Skip to content

Commit

Permalink
Increase node memory limit for deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
hudson-newey committed Mar 2, 2024
1 parent 7086b2f commit 71ad56a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
submodules: 'true'
- name: Install, build, and upload your site
uses: withastro/action@v1
env:
NODE_OPTIONS: "--max_old_space_size=8192"
with:
path: . # The root location of your Astro project inside the repository. (optional)
node-version: 18 # The specific version of Node that should be used to build your site. Defaults to 18. (optional)
Expand All @@ -35,6 +37,7 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
NODE_OPTIONS: "--max_old_space_size=8192"
steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit 71ad56a

Please sign in to comment.