test oauth_new gh-actions

This commit is contained in:
2025-06-19 11:04:09 +09:00
parent 4f7834f85c
commit 0fd219baf7

View File

@@ -24,20 +24,17 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
cd oauth cd oauth_new
npm install npm install
- name: Build OAuth app - name: Build OAuth app
run: | run: |
cd oauth cd oauth_new
NODE_ENV=production npm run build NODE_ENV=production npm run build
- name: Copy OAuth build to static - name: Copy OAuth build to static
run: | run: |
# Remove old assets (following run.zsh pattern)
rm -rf my-blog/static/assets rm -rf my-blog/static/assets
# Copy all dist files to static
cp -rf oauth/dist/* my-blog/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 cp oauth/dist/index.html my-blog/templates/oauth-assets.html
- name: Cache ailog binary - name: Cache ailog binary