mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 09:50:00 +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]
|
branches: [main]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@ -56,14 +57,12 @@ jobs:
|
|||||||
cp tarpaulin-report.html target/doc/rustframe/
|
cp tarpaulin-report.html target/doc/rustframe/
|
||||||
echo "<meta http-equiv=\"refresh\" content=\"0; url=rustframe\">" > target/doc/index.html
|
echo "<meta http-equiv=\"refresh\" content=\"0; url=rustframe\">" > target/doc/index.html
|
||||||
|
|
||||||
# cp -r target/doc/rustframe/* output/
|
|
||||||
|
|
||||||
- name: Upload Pages artifact
|
- name: Upload Pages artifact
|
||||||
# if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: target/doc/
|
path: target/doc/
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
# if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
uses: actions/deploy-pages@v4
|
uses: actions/deploy-pages@v4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user