Skip to content

Commit 9404826

Browse files
committed
gh: Update docs deploy action.
1 parent 6a1a7b1 commit 9404826

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/prerelease.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
cmake --build --preset ninja-rel -j $(nproc)
5858
cpack -G TXZ --config ./builds/ninja-multi-default/CPackConfig.cmake
5959
60-
- name: "Publish Pre-Release"
61-
uses: "marvinpinto/action-automatic-releases@latest"
60+
- name: Publish Pre-Release
61+
uses: marvinpinto/action-automatic-releases@latest
6262
with:
6363
repo_token: "${{ secrets.GITHUB_TOKEN }}"
6464
automatic_release_tag: "latest"
@@ -68,10 +68,15 @@ jobs:
6868
${{ github.workspace }}/vast/LICENSE
6969
${{ github.workspace }}/vast/builds/ninja-multi-default/package/vast-*/*.tar.xz
7070
71-
- name: "Deploy Docs"
72-
uses: "benc-uk/workflow-dispatch@v1.2.2"
73-
with:
74-
workflow: "github pages"
75-
repo: "trailofbits/vast-www"
76-
token: "${{ secrets.GITHUB_TOKEN }}"
71+
- name: Build VAST Doc
72+
run: cmake --build --preset ninja-rel --target vast-doc
73+
74+
- name: Build Website
75+
run: |
76+
sh ./www/setup.sh _site ./builds/ninja-multi-default/
7777
78+
- name: Deploy docs
79+
uses: mhausenblas/mkdocs-deploy-gh-pages@master
80+
env:
81+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
82+
CONFIG_FILE: _site/mkdocs.yml

0 commit comments

Comments
 (0)