Skip to content

Commit

Permalink
mkdir for publication folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
ElektrikAkar committed Jan 15, 2024
1 parent 52f135b commit c7f2463
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,16 @@ jobs:
# JOSS Paper Compilation Steps
- name: Build draft PDF for JOSS paper
uses: openjournals/openjournals-draft-action@master
if: github.ref == 'refs/heads/main'
with:
journal: joss
paper-path: joss/paper.md

- name: Create directory for JOSS paper
run: mkdir -p _site/pub

- name: Move JOSS paper to documentation
if: github.ref == 'refs/heads/main'
run: mv joss/paper.pdf _site/joss/paper.pdf

run: mv joss/paper.pdf _site/pub/joss.pdf

# Upload the website:
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- main
# - develop
- develop
pull_request:
branches:
- '**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- main
# - develop
- develop
pull_request:
branches:
- '**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- main
# - develop
- develop
pull_request:
branches:
- '**'
Expand Down
2 changes: 1 addition & 1 deletion docs/7_publications/joss_paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ nav_order: 2
<title>JOSS Paper</title>
</head>
<body>
<iframe src="https://battery-intelligence-lab.github.io/dtw-cpp/joss/paper.pdf" frameborder="0" scrolling="yes" seamless="seamless" style="display:block; width:100%; height:100vh;"></iframe>
<iframe src="https://battery-intelligence-lab.github.io/dtw-cpp/pub/joss.pdf" frameborder="0" scrolling="yes" seamless="seamless" style="display:block; width:100%; height:100vh;"></iframe>
</body>
</html>

0 comments on commit c7f2463

Please sign in to comment.