Skip to content

Commit a9e9a1e

Browse files
nirgn975Nir Galon
authored andcommitted
ci: fix gh-pages deployment
1 parent baacce1 commit a9e9a1e

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.github/workflows/continuous-deployment.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ jobs:
1818
extended: true
1919

2020
- name: Hugo Build 🚧
21-
run: hugo --source=exampleSite --minify -e production
21+
run: |
22+
sed -i 's/example.com/nirgn975.github.io\/devRes/g' exampleSite/config.toml
23+
hugo --source=exampleSite --minify -e production
2224
2325
- name: Create Release 🚀
2426
uses: ridedott/release-me-action@master

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To see this theme in action, Here is a [live demo](https://nirgn975.github.io/de
2020
- Support [Google](https://analytics.google.com/analytics) and [Plausible](https://plausible.io) analytics.
2121
- 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).
2222
- **CDN** for all third-party libraries supported.
23-
- Automated contact form with [formspree](https://formspree.io).
23+
- Automated contact form with [formspree](https://formspree.io) and [getform](https://getform.io).
2424

2525
## Getting started
2626

exampleSite/data/content.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,4 @@ talks:
136136
downloadLink: https://github.com/nirgn975/devRes
137137

138138
contact:
139-
formspreeUrl: https://formspree.io/[email protected]
139+
formActionUrl: https://formspree.io/[email protected]

layouts/partials/_contact.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<h2>Contact</h2>
55
</span>
66

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

1010
<div class="uk-margin row">

0 commit comments

Comments
 (0)