Skip to content

Commit

Permalink
chore: preparing ci docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mariogarcia committed Dec 16, 2024
1 parent 0550808 commit 27d7988
Show file tree
Hide file tree
Showing 69 changed files with 59 additions and 2,389 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/gql-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: development

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: '17'
- name: build and test
run: ./gradlew build
43 changes: 43 additions & 0 deletions .github/workflows/gql-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: main

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
environment: release
env:
ORG_GRADLE_PROJECT_PUBLISH_SIGN_KEY_ID: ${{ secrets.ORG_GRADLE_PROJECT_PUBLISH_SIGN_KEY_ID }}
ORG_GRADLE_PROJECT_PUBLISH_SIGN_KEY: ${{ secrets.ORG_GRADLE_PROJECT_PUBLISH_SIGN_KEY }}
ORG_GRADLE_PROJECT_PUBLISH_SIGN_SECRET: ${{ secrets.ORG_GRADLE_PROJECT_PUBLISH_SIGN_SECRET }}
ORG_GRADLE_PROJECT_PUBLISH_REPO_USERNAME: ${{ secrets.ORG_GRADLE_PROJECT_PUBLISH_REPO_USERNAME }}
ORG_GRADLE_PROJECT_PUBLISH_REPO_PASSWORD: ${{ secrets.ORG_GRADLE_PROJECT_PUBLISH_REPO_PASSWORD }}
ORG_GRADLE_PROJECT_PUBLISH_GH_TOKEN: ${{ secrets.ORG_GRADLE_PROJECT_PUBLISH_GH_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: installing poetry
run: |
python -m pip install --upgrade pip
pip install poetry
- name: building docs
run: |
cd docs/guide/docs && \
poetry install --with dev && \
poetry shell && mkdocs build
- uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: '17'
- name: release
run: |
./gradlew \
--stacktrace \
-x aggregateCodenarc \
-x aggregateGroovydoc \
build
17 changes: 0 additions & 17 deletions docs/guide/guide.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
plugins {
id('groovy')
id('org.kordamp.gradle.guide')
id('org.ajoberstar.git-publish')
}

Expand All @@ -27,22 +26,6 @@ gitPublishPush {
dependsOn 'setAuthentication'
}

asciidoctor {
baseDirFollowsSourceDir()
attributes(
'underdog': version,
'github': '.',
'toc': 'left',
'toclevels' : 4,
'source-highlighter': 'rouge')
}

asciidoctorj {
modules {
diagram.version '2.1.0'
}
}

test {
useJUnitPlatform()
}
64 changes: 0 additions & 64 deletions docs/guide/src/docs/asciidoc/dataframe/dataframe/creation.adoc

This file was deleted.

Loading

0 comments on commit 27d7988

Please sign in to comment.