Skip to content

Commit

Permalink
chore: deploy demo to GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
eidottermihi committed Dec 6, 2023
1 parent eb26670 commit ca8b226
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,11 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm run semantic-release
- run: npm run build:demo
if: github.ref == 'refs/heads/main'
- name: deploy demo to github pages
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist-demo
2 changes: 1 addition & 1 deletion vite.demo.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import vuetify from "vite-plugin-vuetify";
// https://vitejs.dev/config/
export default defineConfig({
// GitLab pages is served with additional contextPath
base: "/ezLDAP/ezldap-vue-select/",
base: "/ezldap-vue-select/",
plugins: [
vue(),
// https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin
Expand Down

0 comments on commit ca8b226

Please sign in to comment.