Skip to content

Commit

Permalink
Merge pull request #4 from AlexCatarino/master
Browse files Browse the repository at this point in the history
Create Clean Publish Branch
  • Loading branch information
jaredbroad committed Jul 29, 2022
2 parents 3bef5a7 + 09dabe5 commit be99d7c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/gh_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ..
Expand All @@ -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 "actions@users.noreply.github.com"
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
2 changes: 1 addition & 1 deletion .github/workflows/gh_actions_daily_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./Lean/documentation.zip
asset_path: ./documentation.zip
asset_name: documentation.zip
asset_content_type: application/zip

0 comments on commit be99d7c

Please sign in to comment.