Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
sammachin committed Sep 22, 2023
1 parent fd16e4c commit d71fa02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
name: Deploy Hugo site to Pages

on:
# Only Run on Prod
if: github.repository == 'project-chip/matter-handbook-production'
# Runs on pushes targeting the default branch
push:
branches:
Expand Down Expand Up @@ -32,6 +30,8 @@ defaults:
jobs:
# Build job
build:
# Only Run on Prod
if: github.repository == 'project-chip/matter-handbook-production'
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.115.4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Deploy PR previews

on:
# Only run on Staging
if: github.repository == 'project-chip/matter-handbook'
pull_request:
types:
- opened
Expand All @@ -18,6 +17,7 @@ defaults:

jobs:
build-preview:
if: github.repository == 'project-chip/matter-handbook'
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.115.4
Expand Down

0 comments on commit d71fa02

Please sign in to comment.