You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4. After these steps your `angular.json` is updated with a new builder:
41
46
```json
42
47
"deploy": {
43
48
"builder": "@jefiozie/ngx-aws-deploy:deploy",
44
49
"options": {}
45
50
}
46
51
```
47
-
5. Due to security risk we have made the decision to never add any options to the `angular.json`. You should set the environments variable during the `ng deploy` command. Below a example on how you could do this.
52
+
5. Due to security risk we have made the decision to never add any options to the `angular.json`. You should set the environments variable during the `ng deploy` command. Below a example on how you could do this.
48
53
49
54
```bash
50
55
npx cross-env NG_DEPLOY_AWS_ACCESS_KEY_ID=1234 NG_DEPLOY_AWS_SECRET_ACCESS_KEY=321ACCESS NG_DEPLOY_AWS_BUCKET=mys3bucket NG_DEPLOY_AWS_REGION=eu-1-region NG_DEPLOY_AWS_SUB_FOLDER=path/on/bucker ng deploy
51
56
```
57
+
52
58
6. Run `ng deploy` to deploy your application to Amazon S3.
0 commit comments