-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3d982d9
commit c7946c4
Showing
1 changed file
with
18 additions
and
4 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 |
---|---|---|
|
@@ -6,6 +6,11 @@ on: | |
- 'main' | ||
- 'analysis/**' | ||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
jobs: | ||
algorithms: | ||
runs-on: ubuntu-latest | ||
|
@@ -108,10 +113,15 @@ jobs: | |
test_duration.csv | ||
analyze: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
needs: merge | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v4 | ||
- name: Set up R | ||
uses: r-lib/actions/setup-r@v2 | ||
with: | ||
|
@@ -149,11 +159,15 @@ jobs: | |
- name: Create Build Directory and Move PDFs | ||
run: mv *.pdf website/ | ||
- name: Deploy 🚀 | ||
uses: JamesIves/[email protected] | ||
|
||
- name: Upload website artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
branch: gh-pages | ||
folder: website | ||
path: 'website' | ||
|
||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 | ||
|
||
compare: | ||
runs-on: ubuntu-latest | ||
|