Skip to content

Commit

Permalink
ci: fix gh-pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
nirgn975 authored and Nir Galon committed Jan 6, 2021
1 parent baacce1 commit a9e9a1e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
extended: true

- name: Hugo Build 🚧
run: hugo --source=exampleSite --minify -e production
run: |
sed -i 's/example.com/nirgn975.github.io\/devRes/g' exampleSite/config.toml
hugo --source=exampleSite --minify -e production
- name: Create Release 🚀
uses: ridedott/release-me-action@master
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To see this theme in action, Here is a [live demo](https://nirgn975.github.io/de
- Support [Google](https://analytics.google.com/analytics) and [Plausible](https://plausible.io) analytics.
- Optimized for Performance, Accessibility, Best Practices, and SEO: 90+ (out of 100) on mobile and desktop in [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights).
- **CDN** for all third-party libraries supported.
- Automated contact form with [formspree](https://formspree.io).
- Automated contact form with [formspree](https://formspree.io) and [getform](https://getform.io).

## Getting started

Expand Down
2 changes: 1 addition & 1 deletion exampleSite/data/content.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,4 @@ talks:
downloadLink: https://github.com/nirgn975/devRes

contact:
formspreeUrl: https://formspree.io/[email protected]
formActionUrl: https://formspree.io/[email protected]
2 changes: 1 addition & 1 deletion layouts/partials/_contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<h2>Contact</h2>
</span>

<form action="{{ .Site.Data.content.contact.formspreeUrl | safeHTML }}" method="POST">
<form action="{{ .Site.Data.content.contact.formActionUrl | safeHTML }}" method="POST">
<fieldset class="uk-fieldset">

<div class="uk-margin row">
Expand Down

0 comments on commit a9e9a1e

Please sign in to comment.