Manav Rathi
a99903e3e9
next export is deprecated in Next 14
2024-02-16 21:45:02 +05:30
Manav Rathi
1a9aec23f7
Prefix match the branch name to decide what app to build
...
This allows us to perform test deployments of any of the supported apps.
Refs:
- https://bash.cyberciti.biz/guide/The_case_statement
- https://stackoverflow.com/questions/2172352/in-bash-how-can-i-check-if-a-string-begins-with-some-value
2024-02-16 16:47:49 +05:30
Manav Rathi
1c2d781cba
Always connect to production
2024-02-16 15:40:23 +05:30
Manav Rathi
2c0fc15694
Create a deployment for accounts
2024-02-16 15:29:34 +05:30
Manav Rathi
0119cddd50
Prune
2024-02-10 17:26:23 +05:30
Manav Rathi
36e76626cd
Unconditionally use environment overrides
2024-02-10 16:11:19 +05:30
Manav Rathi
c921399540
WIP
2024-02-10 15:21:06 +05:30
Manav Rathi
9acc0756c9
Set the correct Sentry tag when deploying auth-release
...
...in the photos-web CF pages project.
2024-02-09 17:54:26 +05:30
Manav Rathi
a2c9cd5071
Use the correct casing
...
-r also worked, but -R is the preferred casing
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/cp.html
2024-02-03 17:12:25 +05:30
Manav Rathi
e083c7caf2
Copy the out directory
...
The symlink does not seem to be working. In the build logs there is nothing
wrong, but at the end CF gives up by saying:
+ ln -sf apps/auth/out
Finished
Note: No functions dir at /functions found. Skipping.
Validating asset output directory
Failed: build output directory contains links to files that can't be accessed
2024-02-03 16:49:50 +05:30
Manav Rathi
7bd332bad2
POSIX test requires a single =
...
https://pubs.opengroup.org/onlinepubs/009695399/utilities/test.html
Fixes the following error when running on CF pages:
./scripts/deploy.sh: 14: test: multi-deploy-test: unexpected operator
Also xtrace the commands for the log
2024-02-03 16:35:33 +05:30
Manav Rathi
d3cf5a9afb
Make the deploy script executable
2024-02-03 16:14:23 +05:30
Manav Rathi
67624839f3
Handle the single output directory by creating a symlink
2024-02-03 15:54:45 +05:30
Manav Rathi
e858ae2dc6
Deploy auth from the same repository
2024-02-03 11:34:34 +05:30