diff options
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | exampleSite/vercel-build.sh | 20 | ||||
-rw-r--r-- | exampleSite/vercel.json | 9 |
3 files changed, 1 insertions, 31 deletions
@@ -62,8 +62,7 @@ This project has been pre-configured to work with [Forestry](https://forestry.io repository in Forestry](https://app.forestry.io/quick-start?repo=themefisher/meghna-hugo&engine=hugo&version=0.80.0) and you will be able to edit and preview your site ✨. -Any changes you make in Forestry will be committed back to the repo and deployed if you use [Netlify](#netlify) or -[Vercel](#vercel). +Any changes you make in Forestry will be committed back to the repo and deployed if you use [Netlify](#netlify). ## Deployment and hosting diff --git a/exampleSite/vercel-build.sh b/exampleSite/vercel-build.sh deleted file mode 100644 index 16631a3..0000000 --- a/exampleSite/vercel-build.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -# default versions -if [ -z $GO_VERSION ]; then GO_VERSION='1.16.2'; fi -if [ -z $HUGO_VERSION ]; then HUGO_VERSION='0.81.0'; fi - -# install Go -curl -sSOL https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz -tar -C /usr/local -xzf go${GO_VERSION}.linux-amd64.tar.gz -export PATH=$PATH:/usr/local/go/bin - -# install Hugo -echo "Installing Hugo $HUGO_VERSION..." -curl -sSOL https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz -tar -xzf hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz -./hugo version - -# run Hugo -echo "Running Hugo..." -./hugo --gc --minify
\ No newline at end of file diff --git a/exampleSite/vercel.json b/exampleSite/vercel.json deleted file mode 100644 index 1f8d995..0000000 --- a/exampleSite/vercel.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "builds": [{ - "src": "vercel-build.sh", - "use": "@vercel/static-build", - "config": { - "distDir": "public" - } - }] -}
\ No newline at end of file |