Skip to content

Commit

Permalink
improving workflow
Browse files Browse the repository at this point in the history
Signed-off-by: munapower <mmunaro@hotmail.com>
  • Loading branch information
munapower committed Feb 6, 2024
1 parent 59f1f7b commit ffdab41
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 5 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#
# SPDX-License-Identifier: Apache-2.0
#

name: Update Documentation
on:
push:
paths:
- '**.md'
paths-ignore:
- '!**.md'
pull_request:
paths:
- '**.md'
paths-ignore:
- '!**.md'

jobs:
log:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: log file updated
run: |
echo "Updated documentation"
6 changes: 1 addition & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@ jobs:
filters: |
docker:
- 'utils/docker/**'
# documentation:
# - '**.md'
# base: 'main'
# - name: if docu change then go to end

- name: build dev image
if: steps.filter.outputs.docker == 'true'
env:
Expand All @@ -53,7 +49,7 @@ jobs:
make -C utils/docker build build-dev
- name: fetch dev image
if: steps.filter.outputs.docker == 'false'
if: steps.filter.outputs.docker == 'false'
# && steps.filter.outputs.notdocumentation == 'true'
env:
DOCKER_QUIET_BUILD: 1
Expand Down

0 comments on commit ffdab41

Please sign in to comment.