Skip to content

Commit

Permalink
add remaining baseline files
Browse files Browse the repository at this point in the history
  • Loading branch information
james-garriss committed Nov 20, 2024
1 parent c74b5e2 commit b3fcfd3
Showing 1 changed file with 50 additions and 2 deletions.
52 changes: 50 additions & 2 deletions .github/workflows/convert_baselines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
convert:
name: Convert
runs-on: ubuntu-latest
# permissions:
# contents: write
steps:
- name: Checkout Repo
uses: actions/checkout@v4
Expand All @@ -37,12 +35,62 @@ jobs:
-t plain
PowerShell/ScubaGear/baselines/defender.md
--output=baselines/defender.txt
- name: Convert Exchange to Text
uses: docker://pandoc/core:3.5
with:
args: >-
--standalone
-f markdown
-t plain
PowerShell/ScubaGear/baselines/exo.md
--output=baselines/exo.txt
- name: Convert Power BI to Text
uses: docker://pandoc/core:3.5
with:
args: >-
--standalone
-f markdown
-t plain
PowerShell/ScubaGear/baselines/powerbi.md
--output=baselines/powerbi.txt
- name: Convert Power Platform to Text
uses: docker://pandoc/core:3.5
with:
args: >-
--standalone
-f markdown
-t plain
PowerShell/ScubaGear/baselines/powerplatform.md
--output=baselines/powerflatform.txt
- name: Convert Sharepoint to Text
uses: docker://pandoc/core:3.5
with:
args: >-
--standalone
-f markdown
-t plain
PowerShell/ScubaGear/baselines/sharepoint.md
--output=baselines/sharepoint.txt
- name: Convert Teams to Text
uses: docker://pandoc/core:3.5
with:
args: >-
--standalone
-f markdown
-t plain
PowerShell/ScubaGear/baselines/teams.md
--output=baselines/teams.txt
- name: Install HTML converter
run: npm i markdown-to-html-cli -g
- name: Convert to HTML
run: |
markdown-to-html --source PowerShell/ScubaGear/baselines/aad.md --output baselines/aad.html
markdown-to-html --source PowerShell/ScubaGear/baselines/defender.md --output baselines/defender.html
markdown-to-html --source PowerShell/ScubaGear/baselines/exo.md --output baselines/exo.html
markdown-to-html --source PowerShell/ScubaGear/baselines/powerbi.md --output baselines/powerbi.html
markdown-to-html --source PowerShell/ScubaGear/baselines/powerplatform.md --output baselines/powerplatform.html
markdown-to-html --source PowerShell/ScubaGear/baselines/sharepoint.md --output baselines/sharepoint.html
markdown-to-html --source PowerShell/ScubaGear/baselines/teams.md --output baselines/teams.html
- name: Upload
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit b3fcfd3

Please sign in to comment.