Skip to content

Commit

Permalink
fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
leordev committed Oct 7, 2024
1 parent 0558e8b commit 8d2bb8b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
name: Deploy projects-dashboard to GitHub Pages
name: Build projects-dashboard and maybe Deploy to GitHub Pages

on:
push:
branches: [main]
paths:
- "projects-dashboard/**"
- ".github/workflows/projects-dashboard.yml"
pull_request:
branches: [main]
paths:
- "projects-dashboard/**"
- ".github/workflows/projects-dashboard.yml"
workflow_dispatch:

# Allow this job to clone the repo and create a page deployment
Expand All @@ -25,6 +33,8 @@ jobs:
package-manager: pnpm@9

deploy:
# Only deploy on main
if: github.ref == 'refs/heads/main'
needs: build
runs-on: ubuntu-latest
environment:
Expand Down
1 change: 0 additions & 1 deletion bosph-astrot
Submodule bosph-astrot deleted from 2d8b6a

0 comments on commit 8d2bb8b

Please sign in to comment.