diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18b60047..7ec10420 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,8 +29,8 @@ jobs: with: path: | ~/.cache/deno - ./deno.lock - key: ${{ runner.os }}-deno-${{ hashFiles('**/deno.lock') }} + packages/web/deno.lock + key: ${{ runner.os }}-deno-${{ hashFiles('packages/web/deno.lock') }} restore-keys: | ${{ runner.os }}-deno- diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 98ec0454..aa07282e 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1,9 +1,6 @@ -name: Push to Main CI +name: Pull Requests CI -on: - push: - branches: - - main +on: pull_request permissions: contents: write diff --git a/packages/web/infra/default.conf b/packages/web/infra/default.conf index 7a5f1103..aff74785 100644 --- a/packages/web/infra/default.conf +++ b/packages/web/infra/default.conf @@ -6,7 +6,7 @@ server { index index.html index.htm; location / { - try_files $uri $uri/ =404; + try_files $uri $uri/ /index.html; } error_page 500 502 503 504 /50x.html;