Skip to content

Commit

Permalink
Merge pull request #385 from paskal/improve_ci
Browse files Browse the repository at this point in the history
Add missing builds to CI
  • Loading branch information
umputun authored Oct 13, 2024
2 parents 648b514 + 965139f commit 21c3d9a
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: build
name: build-publisher
on:
push:
branches:
tags:
paths:
- '.github/workflows/ci.yml'
- '.github/workflows/ci-build-publisher.yml'
- 'publisher/**'
pull_request:
paths:
- '.github/workflows/ci.yml'
- '.github/workflows/ci-build-publisher.yml'
- 'publisher/**'

jobs:
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/ci-build-site.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: build-site
on:
push:
branches:
tags:
paths-ignore:
- 'publisher/**'
- 'updater/**'
- '.github/workflows/ci-build-publisher.yml'
- '.github/workflows/ci-build-updater.yml'
- '.github/workflows/ci-frontend-check.yml'
- '.github/workflows/ci-frontend-lint.yml'
- '.github/dependabot.yml'
- '.github/FUNDING.yml'
- 'hugo/content/**' # content likely won't break the build
pull_request:
paths-ignore:
- 'publisher/**'
- 'updater/**'
- '.github/workflows/ci-build-publisher.yml'
- '.github/workflows/ci-build-updater.yml'
- '.github/workflows/ci-frontend-check.yml'
- '.github/workflows/ci-frontend-lint.yml'
- '.github/dependabot.yml'
- '.github/FUNDING.yml'
- 'hugo/content/**' # content likely won't break the build

jobs:
build:
name: build
runs-on: ubuntu-latest
steps:

- name: check out code
uses: actions/checkout@v4

- name: build site image
run: docker build -t radio-t/site .
25 changes: 25 additions & 0 deletions .github/workflows/ci-build-updater.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: build-updater
on:
push:
branches:
tags:
paths:
- '.github/workflows/ci-build-updater.yml'
- 'updater/**'
pull_request:
paths:
- '.github/workflows/ci-build-updater.yml'
- 'updater/**'

jobs:
build:
name: build
runs-on: ubuntu-latest
steps:

- name: check out code
uses: actions/checkout@v4

- name: build updater image
run: docker build -t radio-t/updater .
working-directory: updater
4 changes: 3 additions & 1 deletion .github/workflows/ci-frontend-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
branches:
tags:
paths:
- '.github/workflows/ci-frontend-lint.yml'
- "hugo/**/*.jsx?"
- "hugo/**/*.tsx?"
pull_request:
paths:
- '.github/workflows/ci-frontend-lint.yml'
- "hugo/**/*.jsx?"
- "hugo/**/*.tsx?"

Expand All @@ -17,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [14.15]
node: [14]

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 21c3d9a

Please sign in to comment.