Skip to content

Commit

Permalink
fix prettier error
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry_Lab committed Dec 4, 2024
1 parent 7341045 commit b3c594c
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,17 +134,18 @@ If you need to manually re-deploy your website to GitHub pages, go to Actions, c
1. [Use this template -> Create a new repository](https://github.com/new?template_name=al-folio&template_owner=alshedivat).
2. Netlify: **Add new site** -> **Import an existing project** -> **GitHub** and give Netlify access to the repository you just created.
3. Netlify: In the deploy settings
- Set **Branch to deploy** to `main`
- **Base directory** is empty
- Set **Build command** to `sed -i "s/^\(baseurl: \).*$/baseurl:/" _config.yml && bundle exec jekyll build`
- Set **Publish directory** to `_site`

- Set **Branch to deploy** to `main`
- **Base directory** is empty
- Set **Build command** to `sed -i "s/^\(baseurl: \).*$/baseurl:/" _config.yml && bundle exec jekyll build`
- Set **Publish directory** to `_site`

4. Netlify: Add the following two **environment variables**

- | Key | Value |
| -------- | ------- |
| `JEKYLL_ENV` | `production` |
| `RUBY_VERSION` | set to the Ruby version found in `.github/workflows/deploy.yml` (for example, `3.3.5`) |
- | Key | Value |
| -------------- | -------------------------------------------------------------------------------------- |
| `JEKYLL_ENV` | `production` |
| `RUBY_VERSION` | set to the Ruby version found in `.github/workflows/deploy.yml` (for example, `3.3.5`) |

5. Netlify: Click **Deploy** and wait for the site to be published. If you want to use your own domain name, follow the steps in [this documentation](https://docs.netlify.com/domains-https/custom-domains/).

Expand Down

0 comments on commit b3c594c

Please sign in to comment.