Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add manual deployment instructions #2705

Merged
merged 1 commit into from
Nov 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions app/routes/docs.contributing.deployment/route.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,24 @@ If a deployment is already in progress and you trigger another deployment to the
height="1880"
className="height-auto"
/>

## To deploy manually

Use the continuous deployment procedure above to deploy routine code changes or
changes to [environment variables](/docs/contributiong/configuration).

On rare occasions that code changes require the creating or modifying AWS
resources other than code, static assets, and environment variables, it may be
necessary to manually deploy the web site from your development computer,
beacuse of the limited permissions associated with the AWS IAM role used by the
continuous deployment pipeline. To manually deploy the web site from your own
computer, first [configure the AWS credentials file on your computer](https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-files.html).
Then, run the following commands:

```
npm run clean
npm i
npm i --os=linux --cpu=arm64
npm run build
npx arc deploy --prune --production --no-hydrate
```
Loading