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
30
.github/workflows/doxygen_build_deploy.yml
vendored
30
.github/workflows/doxygen_build_deploy.yml
vendored
@ -21,14 +21,14 @@ jobs:
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- name: Checkout Repo
|
||||
run: |
|
||||
mkdir JKQtPlotter
|
||||
mkdir JKQtPlotter_doc
|
||||
git clone -o mine git@github.com:jkriege2/JKQtPlotter.git $GITHUB_WORKSPACE/JKQtPlotter
|
||||
git clone -o mine git@github.com:jkriege2/JKQtPlotter.git $GITHUB_WORKSPACE/JKQtPlotter_doc
|
||||
ls JKQtPlotter_doc
|
||||
ls JKQtPlotter
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
path: JKQtPlotter
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: gh-pages
|
||||
path: JKQtPlotter_doc
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
@ -55,12 +55,10 @@ jobs:
|
||||
cd ..
|
||||
cd ..
|
||||
|
||||
- name: Deploy to gh-pages
|
||||
run: |
|
||||
cd JKQtPlotter_doc
|
||||
rm -rf *
|
||||
mv ../JKQtPlotter/doc/html .
|
||||
git add **
|
||||
git commit -am "Generated API doc"
|
||||
git push -f mine gh-pages:gh-pages
|
||||
- name: Deploy to GitHub Pages
|
||||
uses: JamesIves/github-pages-deploy-action@3.7.1
|
||||
with:
|
||||
github_token: ${{ secrets.GH_PAGES_SECRET }}
|
||||
branch: gh-pages
|
||||
folder: JKQtPlotter/doc/html
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user