Skip to content

Commit

Permalink
fix: remove faunadb
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed Nov 15, 2021
1 parent 51021f1 commit 14a2cda
Show file tree
Hide file tree
Showing 87 changed files with 633 additions and 6,140 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,8 @@ jobs:
with:
node-version: 16
- uses: bahmutov/npm-install@v1
- name: Update FaunaDB resources
run: npm run import -w packages/db
env:
FAUNA_KEY: ${{ secrets.STAGING_FAUNA_KEY }}
# TODO: Update schema on changes
# - name: Update Postgres resources
- name: Test upload to staging
run: |
npm run build -w packages/client
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,8 @@ jobs:
environment: 'production'

# --- DB deploy steps -------------------------------------------------
- name: Update FaunaDB resources
if: ${{ steps.tag-release.outputs.release_created && matrix.package == 'db' }}
run: npm run import -w packages/db
env:
FAUNA_KEY: ${{ secrets.PROD_FAUNA_KEY }}
# - name: Update Postgres resources
# if: ${{ steps.tag-release.outputs.release_created && matrix.package == 'db' }}

# --- Website deploy steps ----------------------------------------------
- name: Deploy to Cloudflare pages
Expand Down
Loading

0 comments on commit 14a2cda

Please sign in to comment.