Skip to content

Commit

Permalink
Short script; trying to include schemaspy output
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonysena committed Sep 18, 2024
1 parent 9843af5 commit 98ddc72
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1,454 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,23 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Pandoc
uses: r-lib/actions/setup-pandoc@v2

- name: Setup R
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- name: Setup R Dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}
# - name: Setup Pandoc
# uses: r-lib/actions/setup-pandoc@v2
#
# - name: Setup R
# uses: r-lib/actions/setup-r@v2
# with:
# use-public-rspm: true
#
# - name: Setup R Dependencies
# uses: r-lib/actions/setup-r-dependencies@v2
# with:
# extra-packages: any::pkgdown, local::.
# needs: website
#
# - name: Build site
# run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
# shell: Rscript {0}

- name: Wait for PostgreSQL to be ready
run: |
Expand All @@ -82,19 +82,19 @@ jobs:
- name: Execute SchemaSpy
run: |
java -jar extras/rdms/schemaspy-6.2.4.jar -vizjs -dp $HOME -configFile extras/rdms/schemaspy-config.properties -out docs/results-schema -meta extras/rdms/schema_meta.xml -debug
java -jar extras/rdms/schemaspy-6.2.4.jar -vizjs -dp $HOME -configFile extras/rdms/schemaspy-config.properties -meta extras/rdms/schema_meta.xml -debug
# - name: Upload artifact
# uses: actions/upload-artifact@v4
# with:
# name: documentation-artifact
# path: docs/results-schema
#
# - name: download documentation
# uses: actions/download-artifact@v4
# with:
# name: documentation-artifact
# path: docs/results-schema
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: documentation-artifact
path: public

- name: download documentation
uses: actions/download-artifact@v4
with:
name: documentation-artifact
path: docs/results-schema

- name: Deploy to GitHub pages 🚀
#if: github.event_name != 'pull_request'
Expand Down
Loading

0 comments on commit 98ddc72

Please sign in to comment.