The no-index functionality works only if the pages are allowed to be … #312
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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"]' |