Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor change #463

Merged
merged 2 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading