Skip to content

Commit 18b92bc

Browse files
authored
Fix deployment (#40)
* Fix deployment of generated docu similarly to https://github.com/modelica/fmi-ls-ref/blob/main/.github/workflows/build-ls-ref.yml * Rename job to build-ls-struct in workflow
1 parent 263ff65 commit 18b92bc

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

‎.github/workflows/build-ls-struct.yml‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Create ZIP archive
4040
uses: actions/upload-artifact@v5
4141
with:
42-
name: FMI-LS-Struct
42+
name: FMI-LS-STRUCT
4343
path: |
4444
docs/index.html
4545
docs/LICENSE.txt
@@ -55,9 +55,8 @@ jobs:
5555
run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
5656
- name: deploy
5757
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
58-
uses: peaceiris/actions-gh-pages@v3.9.3
58+
uses: peaceiris/actions-gh-pages@v4
5959
with:
6060
github_token: ${{ secrets.GITHUB_TOKEN }}
61-
publish_dir: build
61+
publish_dir: docs
6262
destination_dir: ${{ steps.extract_branch.outputs.branch }}
63-
enable_jekyll: true

0 commit comments

Comments
 (0)