diff --git a/.github/workflows/cloudflare-pages.yml b/.github/workflows/cloudflare-pages.yml index 8d1a5bf..896a4bc 100644 --- a/.github/workflows/cloudflare-pages.yml +++ b/.github/workflows/cloudflare-pages.yml @@ -24,20 +24,17 @@ jobs: - name: Install dependencies run: | - cd oauth + cd oauth_new npm install - name: Build OAuth app run: | - cd oauth + cd oauth_new NODE_ENV=production npm run build - name: Copy OAuth build to static run: | - # Remove old assets (following run.zsh pattern) rm -rf my-blog/static/assets - # Copy all dist files to static cp -rf oauth/dist/* my-blog/static/ - # Copy index.html to oauth-assets.html template cp oauth/dist/index.html my-blog/templates/oauth-assets.html - name: Cache ailog binary