Skip to content

Commit 4d2cd81

Browse files
authored
Init vercel deploy (#19)
- redirect `phpup.vercel.app` to GitHub repo - redirect `phpup.vercel.app/install` to [./.ci/install.sh](https://raw.githubusercontent.com/masan4444/phpup/feture/vercel-deploy-init/.ci/install.sh) - host the install script statically in the future
1 parent dcf7d07 commit 4d2cd81

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,18 @@
1414

1515
## Quick Start (Linux, macOS)
1616

17+
For bash, zsh, there's a [installation script](./.ci/install.sh)
18+
1719
```sh
18-
curl https://raw.githubusercontent.com/masan4444/phpup/master/.ci/install.sh | bash
20+
curl -fsSL https://phpup.vercel.app/install | bash
1921
```
2022

2123
#### Upgrade
2224

2325
To prevent duplication in your shell config file, add `--skip-shell` option to install command.
2426

2527
```sh
26-
curl https://raw.githubusercontent.com/masan4444/phpup/master/.ci/install.sh | bash -s -- --skip-shell
28+
curl -fsSL https://phpup.vercel.app/install | bash -s -- --skip-shell
2729
```
2830

2931
#### Uninstall

vercel.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "https://openapi.vercel.sh/vercel.json",
3+
"github": {
4+
"silent": true
5+
},
6+
"redirects": [
7+
{ "source": "/", "destination": "https://github.com/masan4444/phpup" },
8+
{ "source": "/install", "destination": "https://raw.githubusercontent.com/masan4444/phpup/master/.ci/install.sh" }
9+
]
10+
}

0 commit comments

Comments
 (0)