Skip to content

Commit f37f9ae

Browse files
Create deploy-to-updatesite.yml
1 parent 1fdf069 commit f37f9ae

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Deploy Update-Site
2+
3+
on:
4+
push:
5+
branches: [main,updatesite-deployment]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
- name: Set up the JDK
14+
uses: actions/setup-java@v4
15+
with:
16+
distribution: 'temurin'
17+
java-version: 17
18+
cache: maven
19+
- name: Build
20+
run: mvn clean verify
21+
- name: Publish Update-Site
22+
uses: peaceiris/actions-gh-pages@v4
23+
with:
24+
personal_token: ${{ secrets.UPDATE_SITE_DEPLOY_SECRET }}
25+
external_repository: CASCADE-AnalysisCoupling/updatesite
26+
destination_dir: partitioner/
27+
publish_dir: Updatesite/target/repository
28+
publish_branch: main

0 commit comments

Comments
 (0)