Skip to content

Commit

Permalink
Fix Qodana builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ahus1 committed May 4, 2024
1 parent 6cf4e9f commit a5468c6
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ jobs:
# Path to SARIF file relative to the root of the repository
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ${{ runner.temp }}/qodana/results/report

github-pages:
environment:
name: github-pages
Expand All @@ -100,24 +105,12 @@ jobs:
if: github.ref_name == 'main'
permissions:
pages: write
actions: read
id-token: write
steps:

# Download plugin artifact provided by the previous job
- name: Download Artifact
uses: actions/download-artifact@v4
with:
name: qodana-report

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./results/report

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
Expand Down

0 comments on commit a5468c6

Please sign in to comment.