summaryrefslogtreecommitdiff
path: root/.github/workflows/installer
diff options
context:
space:
mode:
authorCarlo Sala <carlosalag@protonmail.com>2023-06-02 21:37:48 +0200
committerGitHub <noreply@github.com>2023-06-02 21:37:48 +0200
commit6101106916147b1716ff2d5de4a53260e7607bae (patch)
tree57eb922a1c7f0a9fb70fd69840fa0be25c38597a /.github/workflows/installer
parent00241073105643874531e1826b7df6d2cb3cadfb (diff)
downloadzsh-6101106916147b1716ff2d5de4a53260e7607bae.tar.gz
zsh-6101106916147b1716ff2d5de4a53260e7607bae.tar.bz2
zsh-6101106916147b1716ff2d5de4a53260e7607bae.zip
feat(install): deploy installer to install.ohmyz.sh (#11722)
Co-authored-by: Marc Cornellà <hello@mcornella.com>
Diffstat (limited to '.github/workflows/installer')
-rw-r--r--.github/workflows/installer/.gitignore1
-rw-r--r--.github/workflows/installer/.vercelignore2
-rw-r--r--.github/workflows/installer/vercel.json14
3 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/installer/.gitignore b/.github/workflows/installer/.gitignore
new file mode 100644
index 000000000..f66fce310
--- /dev/null
+++ b/.github/workflows/installer/.gitignore
@@ -0,0 +1 @@
+install.sh
diff --git a/.github/workflows/installer/.vercelignore b/.github/workflows/installer/.vercelignore
new file mode 100644
index 000000000..41b233364
--- /dev/null
+++ b/.github/workflows/installer/.vercelignore
@@ -0,0 +1,2 @@
+/*
+!/install.sh
diff --git a/.github/workflows/installer/vercel.json b/.github/workflows/installer/vercel.json
new file mode 100644
index 000000000..8c5aec5e0
--- /dev/null
+++ b/.github/workflows/installer/vercel.json
@@ -0,0 +1,14 @@
+{
+ "headers": [
+ {
+ "source": "/((?!favicon.ico).*)",
+ "headers": [{ "key": "Content-Type", "value": "text/plain" }]
+ }
+ ],
+ "rewrites": [
+ {
+ "source": "/((?!favicon.ico|install.sh).*)",
+ "destination": "/install.sh"
+ }
+ ]
+}