Bläddra i källkod

Update the URLs for opening new deployment PRs

Note that the three dot syntax is needed, the two dot compare doesn't open a pull request.

Ref:
- https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/using-query-parameters-to-create-a-pull-request
- https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-comparing-branches-in-pull-requests#three-dot-and-two-dot-git-diff-comparisons
Manav Rathi 1 år sedan
förälder
incheckning
d26d193a41
1 ändrade filer med 4 tillägg och 4 borttagningar
  1. 4 4
      web/package.json

+ 4 - 4
web/package.json

@@ -12,10 +12,10 @@
         "build:auth": "yarn workspace auth next build",
         "build:auth": "yarn workspace auth next build",
         "build:cast": "yarn workspace cast next build",
         "build:cast": "yarn workspace cast next build",
         "build:photos": "yarn workspace photos next build",
         "build:photos": "yarn workspace photos next build",
-        "deploy:accounts": "open 'https://github.com/ente-io/ente/pull/new/deploy/accounts..main'",
-        "deploy:auth": "open 'https://github.com/ente-io/ente/pull/new/deploy/auth..main'",
-        "deploy:cast": "open 'https://github.com/ente-io/ente/pull/new/deploy/cast..main'",
-        "deploy:photos": "open 'https://github.com/ente-io/ente/pull/new/deploy/photos..main'",
+        "deploy:accounts": "open 'https://github.com/ente-io/ente/compare/deploy/accounts...main?quick_pull=1&title=[web]+Deploy+accounts&body=Deploy+accounts.ente.io'",
+        "deploy:auth": "open 'https://github.com/ente-io/ente/compare/deploy/auth...main?quick_pull=1&title=[web]+Deploy+auth&body=Deploy+auth.ente.io'",
+        "deploy:cast": "open 'https://github.com/ente-io/ente/compare/deploy/cast...main?quick_pull=1&title=[web]+Deploy+cast&body=Deploy+cast.ente.io'",
+        "deploy:photos": "open 'https://github.com/ente-io/ente/compare/deploy/photos...main?quick_pull=1&title=[web]+Deploy+photos&body=Deploy+web.ente.io'",
         "dev": "yarn dev:photos",
         "dev": "yarn dev:photos",
         "dev:accounts": "yarn workspace accounts next dev",
         "dev:accounts": "yarn workspace accounts next dev",
         "dev:albums": "yarn workspace photos next dev -p 3002",
         "dev:albums": "yarn workspace photos next dev -p 3002",