Skip to content

Commit

Permalink
OHRI-2107 fix deploy ci (#20)
Browse files Browse the repository at this point in the history
* OHRI-2107 fix deploy ci

* clean up

* removes cache step
  • Loading branch information
pirupius authored Jan 14, 2024
1 parent b4fcf79 commit 1587210
Show file tree
Hide file tree
Showing 4 changed files with 487 additions and 6,520 deletions.
34 changes: 14 additions & 20 deletions .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,9 @@ name: OHRI DOCS CI

on:
push:
tags:
- "*"
branches:
- "*"

branches: [main]
pull_request:
branches:
- "*"
types: [opened, synchronize]
branches: [main]
release:
types:
- created
Expand All @@ -27,18 +21,18 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: "18"
- name: Cache dependencies
id: cache
uses: actions/cache@v3
with:
path: |
~/.pnpm
${{ github.workspace }}/.next/cache
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-
# - name: Cache dependencies
# id: cache
# uses: actions/cache@v3
# with:
# path: |
# ~/.pnpm
# ${{ github.workspace }}/.next/cache
# # Generate a new cache whenever packages or source files change.
# key: ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
# # If source files changed but packages didn't, rebuild from a prior cache.
# restore-keys: |
# ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-

- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
Expand Down
Loading

0 comments on commit 1587210

Please sign in to comment.