Skip to content

Commit

Permalink
chore: create a separated npm command for github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
pferreirafabricio committed Oct 10, 2023
1 parent 1a40726 commit 19bd941
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ VUE_APP_API_URL="https://pferreirafabricio.github.io/ionic-vue-boilerplate"
VUE_APP_IMAGES_ADDRESS="https://pferreirafabricio.github.io/ionic-vue-boilerplate"
VUE_APP_WHATS_TELEPHONE="+559999999999"
VUE_APP_CONTACT_EMAIL="[email protected]"
VUE_APP_PUBLIC_PATH="/ionic-vue-boilerplate/"
VUE_APP_PUBLIC_PATH="/"
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install and Build 🔧
run: |
npm ci
npm run build
npm run build:github-pages
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
Expand Down
1 change: 0 additions & 1 deletion android/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"serve": "vue-cli-service serve",
"dev": "vue-cli-service serve",
"build": "vue-cli-service build && npm run post:build",
"build:github-pages": "set VUE_APP_PUBLIC_PATH=/ionic-vue-boilerplate/ && vue-cli-service build",
"build:qa": "vue-cli-service build --dest dist-qa --mode staging && npm run post-build",
"post:build": "npx cap copy & npx cap sync",
"resources:android": "npx @capacitor/assets generate --android",
Expand Down

0 comments on commit 19bd941

Please sign in to comment.