Commit graph

11 commits

Author SHA1 Message Date
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
Abhinav
6ec717de2b move scripts to root level 2023-11-17 09:48:48 +05:30
httpjamesm
c680a81ce3
feat: monorepo, turbo config, minimal pkgs 2023-04-18 17:29:40 -04:00
Abhinav
0f2844f49b move the script to scripts folder 2023-04-01 15:43:36 +05:30