27 lines
No EOL
689 B
YAML
27 lines
No EOL
689 B
YAML
name: "Quality Check"
|
|
|
|
on:
|
|
- push
|
|
- pull_request
|
|
|
|
jobs:
|
|
qs:
|
|
name: "Qualty Check"
|
|
runs-on: "ubuntu-latest"
|
|
container:
|
|
image: "git.euph.dev/actions/runner-java-21:latest"
|
|
steps:
|
|
- name: "Checkout"
|
|
uses: "https://git.euph.dev/actions/checkout@v3"
|
|
- name: "CHECK"
|
|
run: mvn checkstyle:check -e
|
|
- name: "javadoc"
|
|
run: |
|
|
mvn package
|
|
mvn javadoc:javadoc -f pom.xml
|
|
- name: "Deploy Javadoc"
|
|
run: |
|
|
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
|
ssh ${{ vars.SSH_HOST }} 'rm -rf ~/webroot/*'
|
|
scp -r ./javadoc_build/* ${{ vars.SSH_HOST }}:~/webroot/
|
|
|