Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: docs paths in workflows #5115

Merged
merged 1 commit into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ on:
tags:
- "*"
paths-ignore:
- 'docs/'
- 'docs/**'
merge_group:
pull_request:
# This needs to be declared explicitly so that the job is actually
# run when moved out of draft.
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- 'docs/'
- 'docs/**'

env:
CI: 1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ on:
- main
paths:
- '**.md'
- '/docs'
- 'docs/**'
- '.github/workflows/docs-check.yml'
merge_group:
pull_request:
branches:
- main
paths:
- '**.md'
- '/docs'
- 'docs/**'
- '.github/workflows/docs-check.yml'

jobs:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ on:
branches:
- main
paths:
- '/docs'
- 'docs/**'
- '.github/workflows/docs-deploy.yml'
merge_group:
pull_request:
branches:
- main
paths:
- '/docs'
- 'docs/**'
- '.github/workflows/docs-deploy.yml'

permissions:
Expand Down Expand Up @@ -44,4 +44,4 @@ jobs:
apiToken: ${{ secrets.CLOUDFLARE_PAGES_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_PAGES_ACCOUNT_ID }}
command: pages deploy ./docs/build --project-name=forest-docs
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/forest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ concurrency:
branches:
- main
paths-ignore:
- 'docs/'
- 'docs/**'
push:
branches:
- main
paths-ignore:
- 'docs/'
- 'docs/**'
schedule:
- cron: 0 0 * * *
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ on:
# run when moved out of draft.
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- 'docs/'
- 'docs/**'
push:
branches:
- main
paths-ignore:
- 'docs/'
- 'docs/**'
schedule:
- cron: "0 0 * * *"

Expand Down
Loading