Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Nov 13, 2024
1 parent cf6ca40 commit 072d30f
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/.schema-spy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,26 +63,26 @@ jobs:
run: |
echo FLYWAY_IMAGE=${{ steps.vars.outputs.FLYWAY_IMAGE }}
- name: Flyway
uses: "${{ steps.vars.outputs.FLYWAY_IMAGE }}"
env:
FLYWAY_URL: jdbc:postgresql://postgres:5432/default
FLYWAY_USER: postgres
FLYWAY_PASSWORD: default
FLYWAY_LOCATIONS: ${{ inputs.flyway_locations }}
FLYWAY_DEFAULT_SCHEMA: ${{ inputs.flyway_schema }}
with:
args: ${{ inputs.flyway_args }}
# - name: Flyway
# uses: "${{ steps.vars.outputs.FLYWAY_IMAGE }}"
# env:
# FLYWAY_URL: jdbc:postgresql://postgres:5432/default
# FLYWAY_USER: postgres
# FLYWAY_PASSWORD: default
# FLYWAY_LOCATIONS: ${{ inputs.flyway_locations }}
# FLYWAY_DEFAULT_SCHEMA: ${{ inputs.flyway_schema }}
# with:
# args: ${{ inputs.flyway_args }}

- name: Create Output Folder
run: |
mkdir -p output/schema
chmod a+rwx -R output
# - name: Create Output Folder
# run: |
# mkdir -p output/schema
# chmod a+rwx -R output

- name: Run Schemaspy
run: docker run --network host -v "$PWD/output:/output" schemaspy/schemaspy:6.2.4 -t pgsql11 -db default -host 127.0.0.1 -port 5432 -u postgres -p default -schemas ${{ inputs.schemaspy_schema }}
# - name: Run Schemaspy
# run: docker run --network host -v "$PWD/output:/output" schemaspy/schemaspy:6.2.4 -t pgsql11 -db default -host 127.0.0.1 -port 5432 -u postgres -p default -schemas ${{ inputs.schemaspy_schema }}

- name: Deploy to Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: output
# - name: Deploy to Pages
# uses: JamesIves/github-pages-deploy-action@v4
# with:
# folder: output

0 comments on commit 072d30f

Please sign in to comment.