diff --git a/.github/workflows/projects-dashboard.yml b/.github/workflows/projects-dashboard.yml index 021946a..f580a60 100644 --- a/.github/workflows/projects-dashboard.yml +++ b/.github/workflows/projects-dashboard.yml @@ -1,4 +1,4 @@ -name: Build projects-dashboard and maybe Deploy to GitHub Pages +name: Build and deploy projects-dashboard on: push: @@ -50,7 +50,7 @@ jobs: TARGET_PATH=projects-dashboard if [ "$BRANCH" != "main" ]; then # sanitize branch name - BRANCH=$(echo "$BRANCH" | sed 's/[^a-zA-Z0-9]/_/g') + BRANCH=$(echo "$BRANCH" | sed 's/[^a-zA-Z0-9-]/_/g') TARGET_PATH=projects-dashboard-preview-$BRANCH fi echo "path=$TARGET_PATH" >> $GITHUB_OUTPUT @@ -104,7 +104,11 @@ jobs: - name: Add preview comment to PR if: github.event_name == 'pull_request' uses: thollander/actions-comment-pull-request@v2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: + comment_tag: preview-deploy message: | Site preview deployed to: https://block-open-source.github.io/ospo/${{ needs.build.outputs.path }} - comment_tag: preview-deploy + + _(execution **[#${{ github.run_id }}](https://github.com/block-open-source/ospo/actions/runs/${{ github.run_id }}) / attempt **${{ github.run_attempt }}**)_ diff --git a/projects-dashboard/src/components/Header.astro b/projects-dashboard/src/components/Header.astro index 04c0e8e..bb4417b 100644 --- a/projects-dashboard/src/components/Header.astro +++ b/projects-dashboard/src/components/Header.astro @@ -10,7 +10,6 @@ const baseURL = import.meta.env.BASE_URL;

{SITE_TITLE}

@@ -54,4 +53,7 @@ const baseURL = import.meta.env.BASE_URL; display: none; } } + .internal-links { + min-height: 56px; + } diff --git a/projects-dashboard/src/pages/about.astro b/projects-dashboard/src/pages/about.astro deleted file mode 100644 index 8dfcdcb..0000000 --- a/projects-dashboard/src/pages/about.astro +++ /dev/null @@ -1,37 +0,0 @@ ---- -import BaseLayout from '../layouts/BaseLayout.astro'; ---- - - -

🧑‍🚀 Hello, Astronaut!

-

- Welcome to the official Astro blog starter template. This - template serves as a lightweight, minimally-styled starting point for anyone looking to build - a personal website, blog, or portfolio with Astro. -

-

- This template comes with a few integrations already configured in your - astro.config.mjs file. You can customize your setup with - Astro Integrations to add tools like Tailwind, - React, or Vue to your project. -

-

Here are a few ideas on how to get started with the template:

- -

- Have fun! If you get stuck, remember to read the docs - or join us on Discord to ask questions. -

-

- Looking for a blog template with a bit more personality? Check out astro-blog-template - by Maxi Ferreira. -

-
\ No newline at end of file