Skip to content

Avoid Google complaining that the RSS feed contain a URL that is not … #315

Avoid Google complaining that the RSS feed contain a URL that is not …

Avoid Google complaining that the RSS feed contain a URL that is not … #315

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Publish
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
concurrency: publish-to-website
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build with Maven
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: mvn -s mvn-rel-settings.xml package -Dpublish
- name: Install SSH Client 🔑
uses: webfactory/ssh-agent@v0.4.1
with:
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
SSH: true
REPOSITORY_NAME: keycloak/keycloak.github.io
BRANCH: main
FOLDER: target/web
CLEAN: true
CLEAN_EXCLUDE: '["docs", "docs-api"]'