Skip to content

Commit

Permalink
CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
parkchamchi committed Oct 16, 2024
1 parent b4bf422 commit 047405c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ jobs:
node-version: '14'

- name: Install dependencies
run: npm install
run: |
cd src/backend/gs_index
npm install
- name: Build the project
run: npm run build
run: |
cd src/backend/gs_index
npm run build
- name: Deploy to GitHub Pages
if: success()
Expand All @@ -38,12 +42,13 @@ jobs:
cd gh-pages
# Copy the built files to the gh-pages branch
cp -r ../dist/gs_index/index.html ./
cp -r ../dist/gs_index/favicon.ico ./
cp -r ../src/backend/gs_index/dist/index.html ./
cp -r ../src/backend/gs_index/dist/favicon.ico ./
rm -rf ./GlossySnake/static/*
cp -r ../dist/gs_index/GlossySnake/static/* ./GlossySnake/static/
cp -r ../src/backend/gs_index/dist/GlossySnake/static/* ./GlossySnake/static/
# Commit and push the changes
git add .
git commit -m "Update GitHub Pages with the latest build from master"
git push origin gh-pages
2 changes: 1 addition & 1 deletion src/backend/gs_index/src/components/CorpusesView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
</script>

<template>
<p @click="clearCorpuses">[Clear data]</p>
<p @click="clearCorpuses">[Clear]</p>
<div v-if="remoteSampleFilenames.length > 0">
<h4>Get a sample:</h4>
<p v-for="(filename, index) in remoteSampleFilenames"
Expand Down

0 comments on commit 047405c

Please sign in to comment.