mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-15 10:05:47 +08:00
Update doxygen_build_deploy.yml
This commit is contained in:
parent
4193d6ec9c
commit
9cd1462a77
34
.github/workflows/doxygen_build_deploy.yml
vendored
34
.github/workflows/doxygen_build_deploy.yml
vendored
@ -21,15 +21,15 @@ jobs:
|
|||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- name: Checkout Repo
|
- uses: actions/checkout@v3
|
||||||
run: |
|
with:
|
||||||
mkdir JKQtPlotter
|
path: JKQtPlotter
|
||||||
mkdir JKQtPlotter_doc
|
|
||||||
git clone -o mine git@github.com:jkriege2/JKQtPlotter.git $GITHUB_WORKSPACE/JKQtPlotter
|
- uses: actions/checkout@v3
|
||||||
git clone -o mine git@github.com:jkriege2/JKQtPlotter.git $GITHUB_WORKSPACE/JKQtPlotter_doc
|
with:
|
||||||
ls JKQtPlotter_doc
|
ref: gh-pages
|
||||||
ls JKQtPlotter
|
path: JKQtPlotter_doc
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
@ -54,13 +54,11 @@ jobs:
|
|||||||
echo "" > html/.nojekyll
|
echo "" > html/.nojekyll
|
||||||
cd ..
|
cd ..
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
- name: Deploy to gh-pages
|
- name: Deploy to GitHub Pages
|
||||||
run: |
|
uses: JamesIves/github-pages-deploy-action@3.7.1
|
||||||
cd JKQtPlotter_doc
|
with:
|
||||||
rm -rf *
|
github_token: ${{ secrets.GH_PAGES_SECRET }}
|
||||||
mv ../JKQtPlotter/doc/html .
|
branch: gh-pages
|
||||||
git add **
|
folder: JKQtPlotter/doc/html
|
||||||
git commit -am "Generated API doc"
|
|
||||||
git push -f mine gh-pages:gh-pages
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user