Skip to content

Commit

Permalink
Merge pull request #463 from nordic-rse/radovan/test
Browse files Browse the repository at this point in the history
minor change
  • Loading branch information
bast authored Aug 28, 2024
2 parents 153409b + 08513fd commit 39e17d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,14 @@ jobs:
wget -O - \
"https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz" \
| sudo tar xzf - -C /usr/local/bin
- name: Generate HTML
- name: Generate HTML when merged
if: ${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', env.MAIN_BRANCH) }}
run: zola build
- name: Generate HTML when building pull request
if: github.event_name == 'pull_request' && github.repository == github.event.pull_request.head.repo.full_name
run: zola build --base-url "https://nordic-rse.org/previews/PR${{ github.event.number }}"

# Add CNAME, either (first one used)
# - file in the root
# - the environment variable set above
Expand Down
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h3><i class="fas fa-hands-helping"></i> Get involved</h3>

<div class="teaser-child">
<a href="{{ config.base_url | safe }}/about/membership/">
<h3><i class="fa fa-users"></i> Become a Member </h3>
<h3><i class="fa fa-users"></i> Become a member</h3>
<p>Join the association</p>
</a>
</div>
Expand Down

0 comments on commit 39e17d1

Please sign in to comment.