test oauth_new gh-actions
This commit is contained in:
7
.github/workflows/cloudflare-pages.yml
vendored
7
.github/workflows/cloudflare-pages.yml
vendored
@@ -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
|
||||||
|
Reference in New Issue
Block a user