Skip to content

Commit 665601d

Browse files
updated actions remove db
1 parent 6890aff commit 665601d

File tree

1 file changed

+1
-36
lines changed

1 file changed

+1
-36
lines changed

.github/workflows/preview.yaml

+1-36
Original file line numberDiff line numberDiff line change
@@ -78,43 +78,8 @@ jobs:
7878
- name: Lint
7979
run: yarn run lint
8080

81-
Database:
82-
needs: Check
83-
runs-on: ubuntu-latest
84-
steps:
85-
- uses: actions/checkout@v3
86-
87-
- uses: actions/setup-node@v3
88-
with:
89-
node-version: 20
90-
91-
- name: Configure Yarn
92-
run: |
93-
yarn config set '@tiptap-pro:registry' 'https://registry.tiptap.dev'
94-
yarn config set '//registry.tiptap.dev/:_authToken' '${{ secrets.TIPTAP_PRO_TOKEN }}'
95-
96-
- name: Get yarn cache directory path
97-
id: yarn-cache-dir-path
98-
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
99-
100-
- uses: actions/cache@v3
101-
id: yarn-cache
102-
with:
103-
path: |
104-
${{ steps.yarn-cache-dir-path.outputs.dir }}
105-
node_modules
106-
.next
107-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
108-
restore-keys: |
109-
${{ runner.os }}-yarn-
110-
111-
- name: Push DB Changes
112-
run: yarn run db:push
113-
env:
114-
POSTGRES_URL: ${{ secrets.POSTGRES_URL }}
115-
11681
Deploy:
117-
needs: Database
82+
needs: Check
11883
runs-on: ubuntu-latest
11984
if: "!contains(github.event.head_commit.message, '[skip ci]')"
12085
steps:

0 commit comments

Comments
 (0)