diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml new file mode 100644 index 000000000..4c73ef1c7 --- /dev/null +++ b/.github/workflows/deploy-docs.yml @@ -0,0 +1,27 @@ +name: Build and Deploy to GitHub Pages +on: + push: + branches: + - main + - 2.0.0.Alpha1-docs +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up JDK 11 + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 11 + cache: maven + - name: Build with Maven + run: ./mvnw --batch-mode --no-transfer-progress clean package -pl build/docs + - name: Deploy to GitHub Pages + uses: JamesIves/github-pages-deploy-action@v4 + with: + branch: gh-pages + folder: build/docs/target/generated-docs/ + git-config-name: Alien Ike + git-config-email: arquillian-team@lists.jboss.org