Skip to content

Commit

Permalink
IDEs that spellchecks comments reveals things.
Browse files Browse the repository at this point in the history
  • Loading branch information
Southpaw1496 committed Nov 29, 2024
1 parent 4ef732a commit 099ae92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run-id: ${{ env.GITHUB_RUN_ID }}
github-token: ${{ env.GITHUB_TOKEN }}

# The following hack is required because Cloudflare can't compile the workeers in the functions/ directory seperately from deploying, so it needs the packages they use in order to compile them at deployment time, but installing *everything* in package.json would be a waste. The build and publish steps can't go in the same job, because PR Previews have to build the site without publishing it (since they can't access secrets). Hopefully we can remove the need for this in the future by switching to Astro Actions, which should be compiled with the rest of the site.
# The following hack is required because Cloudflare can't compile the workers in the functions/ directory separately from deploying, so it needs the packages they use in order to compile them at deployment time, but installing *everything* in package.json would be a waste. The build and publish steps can't go in the same job, because PR Previews have to build the site without publishing it (since they can't access secrets). Hopefully we can remove the need for this in the future by switching to Astro Actions, which should be compiled with the rest of the site.
- name: Install packages required by functions
run: npm install xml-js semver-sort string_decoder buffer
- name: Publish to Cloudflare Pages
Expand Down

1 comment on commit 099ae92

@Cozy-GitHub
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See preview on Cloudflare Pages:

Please sign in to comment.