Skip to content

Commit

Permalink
Feature/epmgcip 152/configure staging (#12)
Browse files Browse the repository at this point in the history
* feature/epmgcip-152/configure-staging

* feature/epmgcip-152/configure-staging

---------

Co-authored-by: Siarhei Balonikau <[email protected]>
  • Loading branch information
gordoney and Siarhei Balonikau authored Jul 25, 2024
1 parent 873d3a1 commit 06c2ee9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
'on': pull_request
jobs:
build_and_preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
7 changes: 6 additions & 1 deletion src/locations/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,12 @@ const Sidebar = () => {
return (
<>
{isPublished && pageUrl.length > 0 && (
<a href={pageUrl} target="_blank" className={styles.link}>
<a
href={pageUrl}
target="_blank"
className={styles.link}
rel="noreferrer"
>
{pageUrl}
</a>
)}
Expand Down

0 comments on commit 06c2ee9

Please sign in to comment.