Skip to content

fix version of actions/upload-release-asset #40

fix version of actions/upload-release-asset

fix version of actions/upload-release-asset #40

Workflow file for this run

name: Update github pages
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
cache: maven
- name: run maven
run: mvn -Drevision=${{github.ref_name}} -Dchangelist="" --batch-mode --update-snapshots package
- name: create directory for github pages
run: mkdir -p public
- name: copy descriptor file
run: cp framework/target/generated-resources/xml/xslt/descriptor.xml public/descriptor.xml
- name: Deploy descriptor file on Github pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public