Skip to content

Commit 4ad4d5d

Browse files
Update deploy-to-updatesite.yml
1 parent d025a55 commit 4ad4d5d

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed
Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: Deploy Update-Site
2+
13
on:
24
push:
35
branches: [main,updatesite-deployment]
@@ -6,5 +8,21 @@ jobs:
68
build:
79
runs-on: ubuntu-latest
810
steps:
9-
- name: Test
10-
run: echo 'test'
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: framework/
27+
publish_dir: Updatesite/target/repository
28+
publish_branch: main

0 commit comments

Comments
 (0)