mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-21 03:49:59 +00:00
Compare commits
4 Commits
6b7ae34ee3
...
653ab735f1
Author | SHA1 | Date | |
---|---|---|---|
![]() |
653ab735f1 | ||
![]() |
18887e72ae | ||
![]() |
02c00cc657 | ||
![]() |
e74617f2e4 |
8
.github/workflows/docs-and-testcov.yml
vendored
8
.github/workflows/docs-and-testcov.yml
vendored
@ -101,14 +101,16 @@ jobs:
|
|||||||
cp last-commit-date.json target/doc/rustframe/
|
cp last-commit-date.json target/doc/rustframe/
|
||||||
mkdir -p target/doc/rustframe/.github
|
mkdir -p target/doc/rustframe/.github
|
||||||
cp .github/rustframe_logo.png target/doc/rustframe/.github/
|
cp .github/rustframe_logo.png target/doc/rustframe/.github/
|
||||||
echo "<meta http-equiv=\"refresh\" content=\"0; url=rustframe\">" > target/doc/index.html
|
|
||||||
|
mv target/doc/rustframe target/doc/docs
|
||||||
|
echo "<meta http-equiv=\"refresh\" content=\"0; url=docs\">" > target/doc/index.html
|
||||||
|
|
||||||
- name: Upload Pages artifact
|
- name: Upload Pages artifact
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
|
||||||
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' || github.event_name == 'workflow_dispatch'
|
||||||
uses: actions/deploy-pages@v4
|
uses: actions/deploy-pages@v4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user