Skip to content

Commit

Permalink
Merge pull request #152 from ezpaarse-project:ci/erd-actions-versions
Browse files Browse the repository at this point in the history
ci: upgraded actions versions
  • Loading branch information
nojhamster authored Feb 21, 2024
2 parents 3a0f610 + b6612a1 commit d48dc88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/api-erd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- master
- postgres # temporary
paths:
- '.github/workflows/api-erd.yml'
- 'api/prisma/schema.prisma'
Expand All @@ -22,12 +21,13 @@ env:

jobs:
generate-db-doc:
permissions: write-all
permissions:
contents: write
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Generate ERD
run: 'curl -X POST -d "$(cat ${{ env.PRISMA_SCHEMA }})" -H "Content-Type: text/plain" -H "X-Api-Key: ${{ env.ERD_WS_KEY }}" -o "${{ env.OUT_ERD_PATH }}" ${{ env.ERD_WS }}/erd/'
Expand All @@ -36,7 +36,7 @@ jobs:
run: 'curl -X POST -d "$(cat ${{ env.PRISMA_SCHEMA }})" -H "Content-Type: text/plain" -H "X-Api-Key: ${{ env.ERD_WS_KEY }}" -o "${{ env.OUT_DIC_PATH }}" ${{ env.ERD_WS }}/dict/\?name\=${{ env.DIC_NAME }}'

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4

- name: Commit files
run: |
Expand Down

0 comments on commit d48dc88

Please sign in to comment.