Skip to content

Commit

Permalink
always deploy to github pages
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Bates <[email protected]>
  • Loading branch information
bates64 authored Nov 20, 2024
1 parent 1b3b695 commit 8f24d13
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,6 @@ jobs:
- name: Generate docs
run: doxygen

- name: Deploy to papermar.io
if: github.repository == 'pmret/papermario'
uses: appleboy/scp-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
source: docs/doxygen/html/
target: "/var/www/papermar.io/html/docs/"
strip_components: 3

- name: Upload artifact
if: github.repository != 'pmret/papermario'
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
if: github.repository == 'pmret/papermario'
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 8f24d13

Please sign in to comment.