Skip to content

Commit

Permalink
get changed investigations
Browse files Browse the repository at this point in the history
  • Loading branch information
SoumayaMauthoorMOJ committed Jul 21, 2024
1 parent 6cc7eae commit 611c3a0
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 5 deletions.
34 changes: 31 additions & 3 deletions .github/workflows/gh-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,39 @@ jobs:
with:
files: mission_statement/README.md

- name: Marp Build (README)
# if: steps.changed-mission-statement.outputs.any_changed == 'true'
- name: Marp Build (Mission statement)
if: steps.changed-mission-statement.outputs.any_changed == 'true'
run: |
npx @marp-team/marp-cli@latest slide-deck.md mission_statement/README.md \
npx @marp-team/marp-cli@latest mission_statement/README.md \
-o build/index.html --theme moj.css --html
- name: Get changed investigations
id: changed-investigations
uses: tj-actions/changed-files@v44
with:
files: investigations/*/*.md
dir_names: 'true'

# - name: Copy Images directory (Investigations)
# env:
# ALL_CHANGED_FILES: ${{ steps.changed-investigations.outputs.all_changed_files }}
# run: |
# for directory in ${ALL_CHANGED_FILES}; do
# if [[ -d $directory/images ]];
# then
# cp -R $directory/images build/images;
# echo "copied "
# fi
# done

# - name: Marp Build (Investigations)
# env:
# ALL_CHANGED_FILES: ${{ steps.changed-investigations.outputs.all_changed_files }}
# run: |
# for directory in ${ALL_CHANGED_FILES}; do
# npx @marp-team/marp-cli@latest $directory/README.md \
# -o build/$directory.html --theme moj.css --html
# done

- name: Setup Pages
uses: actions/configure-pages@v5
Expand Down
2 changes: 1 addition & 1 deletion investigations/athena_monitoring/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ _footer: ''

# [Monitoring Athena and Data Access](https://github.com/moj-analytical-services/dmet-cfe/tree/main/investigations/athena_monitoring)

## Centre for Excellence
## Centre for Excellence.

##### July 2024

Expand Down
2 changes: 1 addition & 1 deletion investigations/evaluation_template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ _footer: ''

# Evaluation Template

## Centre for Excellence
## Centre for Excellence.

##### July 2024

Expand Down

0 comments on commit 611c3a0

Please sign in to comment.