test ai-blog
This commit is contained in:
16
.github/workflows/cloudflare-pages.yml
vendored
16
.github/workflows/cloudflare-pages.yml
vendored
@@ -40,6 +40,22 @@ jobs:
|
||||
rm -rf my-blog/static/assets
|
||||
cp -rf ${{ env.OAUTH_DIR }}/dist/* my-blog/static/
|
||||
cp ${{ env.OAUTH_DIR }}/dist/index.html my-blog/templates/oauth-assets.html
|
||||
|
||||
- name: Install AI conversation dependencies
|
||||
run: |
|
||||
cd ai-conversation
|
||||
npm install
|
||||
|
||||
- name: Build AI conversation app
|
||||
run: |
|
||||
cd ai-conversation
|
||||
NODE_ENV=production npm run build
|
||||
- name: Copy AI conversation build to static
|
||||
run: |
|
||||
rm -rf my-blog/static/ai-assets
|
||||
mkdir -p my-blog/static/ai-assets
|
||||
cp -rf ai-conversation/dist/assets/* my-blog/static/ai-assets/
|
||||
cp ai-conversation/dist/index.html my-blog/templates/ai-conversation-assets.html
|
||||
|
||||
- name: Cache ailog binary
|
||||
uses: actions/cache@v4
|
||||
|
Reference in New Issue
Block a user