-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from AlexCatarino/master
Create Clean Publish Branch
- Loading branch information
Showing
2 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
|
||
- name: Generate Documentation | ||
run: | | ||
cp Doxyfile MAIN_PAGE.md ./Lean | ||
cp Doxyfile MAIN_PAGE.md ./custom-styles/style.css ./Lean | ||
cd Lean | ||
doxygen | ||
cd .. | ||
|
@@ -35,12 +35,15 @@ jobs: | |
mv -f ./_docs/mag_sel.png ./_docs/search/ | ||
rm -r Lean | ||
- name: Commit and Push | ||
- name: Delete Current "published" Branch | ||
run: |- | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Actions" | ||
git fetch origin | ||
git checkout -f published | ||
git push origin --delete published | ||
- name: Commit and Push | ||
run: |- | ||
git checkout -b published | ||
git add -A | ||
git commit --allow-empty -m "Updates Documentation" | ||
git push origin published -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters