-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Need to add other steps before deployment.
- Loading branch information
Showing
1 changed file
with
25 additions
and
11 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 |
---|---|---|
|
@@ -8,15 +8,29 @@ jobs: | |
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Commit poster PDF | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
add: 'poster.pdf' | ||
author_name: 'GitHub Actions' | ||
message: 'Add poster.pdf at ${{ github.sha }}' | ||
- uses: actions/checkout@v4 | ||
- uses: awalsh128/cache-apt-pkgs-action@latest | ||
with: | ||
packages: libssl-dev | ||
|
||
- name: Deploy html to gh-pages | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: ${{github.workspace}}/website | ||
- uses: r-lib/actions/setup-r@v2 | ||
- uses : r-lib/actions/setup-pandoc@v1 | ||
with: | ||
r-version: '4.1.0' | ||
pandoc-version: '2.14' | ||
|
||
- name: Build the poster | ||
run: make install && make all && mkdir website && mv poster.html website/index.html && touch website/.nojekyll | ||
|
||
- name: Commit poster PDF | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
add: 'poster.pdf' | ||
author_name: 'GitHub Actions' | ||
message: 'Add poster.pdf at ${{ github.sha }}' | ||
|
||
- name: Deploy html to gh-pages | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: ${{github.workspace}}/website |