Skip to content

Commit

Permalink
Changed conditions of running GitHub actions
Browse files Browse the repository at this point in the history
Signed-off-by: George Araújo <[email protected]>
  • Loading branch information
george-gca committed Jan 15, 2024
1 parent f669b23 commit 6f80025
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/broken-links-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,26 @@ on:
branches:
- master
- main
paths:
- "assets/**"
- "**.html"
- "**.js"
- "**.liquid"
- "**/*.md"
- "**.yml"
- "!*.md"
pull_request:
branches:
- master
- main
paths:
- "assets/**"
- "**.html"
- "**.js"
- "**.liquid"
- "**/*.md"
- "**.yml"
- "!*.md"
workflow_dispatch:

permissions:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/broken-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,29 @@ name: Check for broken links

on:
push:
branches:
- master
- main
paths:
- "assets/**"
- "**.html"
- "**.js"
- "**.liquid"
- "**/*.md"
- "**.yml"
- "!*.md"
pull_request:
branches:
- master
- main
paths:
- "assets/**"
- "**.html"
- "**.js"
- "**.liquid"
- "**/*.md"
- "**.yml"
- "!*.md"

jobs:
link-checker:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy-docker-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
tags:
- "v*"
paths:
- "Dockerfile"

jobs:
build:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/deploy-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ name: Docker Image CI

on:
push:
branches: [master]
branches:
- master
- main
paths:
- "Dockerfile"

jobs:
build:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,32 @@ on:
branches:
- master
- main
paths:
- "assets/**"
- "**.css"
- "**.html"
- "**.js"
- "**.json"
- "**.liquid"
- "**/*.md"
- "**.scss"
- "**.yml"
- "!*.md"
pull_request:
branches:
- master
- main
paths:
- "assets/**"
- "**.css"
- "**.html"
- "**.js"
- "**.json"
- "**.liquid"
- "**/*.md"
- "**.scss"
- "**.yml"
- "!*.md"
workflow_dispatch:

permissions:
Expand Down

0 comments on commit 6f80025

Please sign in to comment.