mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:19:59 +00:00
enable manual triggering of documentation and test coverage workflow
This commit is contained in:
parent
7f90c5cb4c
commit
a9780261a7
7
.github/workflows/docs-and-testcov.yml
vendored
7
.github/workflows/docs-and-testcov.yml
vendored
@ -5,6 +5,7 @@ on:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@ -56,14 +57,12 @@ jobs:
|
||||
cp tarpaulin-report.html target/doc/rustframe/
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; url=rustframe\">" > target/doc/index.html
|
||||
|
||||
# cp -r target/doc/rustframe/* output/
|
||||
|
||||
- name: Upload Pages artifact
|
||||
# if: github.event_name == 'push'
|
||||
if: github.event_name == 'push'
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: target/doc/
|
||||
|
||||
- name: Deploy to GitHub Pages
|
||||
# if: github.event_name == 'push'
|
||||
if: github.event_name == 'push'
|
||||
uses: actions/deploy-pages@v4
|
||||
|
Loading…
x
Reference in New Issue
Block a user