Skip to content

Commit

Permalink
Redirect nixpacks.com/install.sh to install script (#311)
Browse files Browse the repository at this point in the history
* topnav nixpacks link takes you to the docs

* nixpacks.com/install.sh takes you to install script

* update install curl instructions

* update curl commands
  • Loading branch information
coffee-cup authored Jul 14, 2022
1 parent 392ac72 commit 4e6ed24
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/components/TopNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const TopNav: React.FC<{
<nav
className={`flex items-center justify-between px-8 py-5 w-full max-w-[90rem] mx-auto`}
>
<Link href="/" className="flex">
<Link href="/docs" className="flex">
📦 Nixpacks
</Link>

Expand Down
6 changes: 6 additions & 0 deletions docs/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ module.exports =
async redirects() {
return [
{ source: "/", destination: "/docs/getting-started", permanent: false },
{
source: "/install.sh",
destination:
"https://raw.githubusercontent.com/railwayapp/nixpacks/main/install.sh",
permanent: true,
},
];
},
});
2 changes: 1 addition & 1 deletion docs/pages/docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ brew install railwayapp/tap/nixpacks
Download Nixpacks from GH releases and install automatically

```sh
curl -fsSL https://raw.githubusercontent.com/railwayapp/nixpacks/master/install.sh | bash
curl -sSL https://nixpacks.com/install.sh | bash
```

## Scoop
Expand Down

0 comments on commit 4e6ed24

Please sign in to comment.