Skip to content

Commit

Permalink
Fix Deployment Issue (#44)
Browse files Browse the repository at this point in the history
* Remove CNAME

* Fix links

* Fix path for vue

* Add comment

* Add comment
  • Loading branch information
xtenzQ authored Jul 28, 2024
1 parent 58a5812 commit 1df0707
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<h1 align="center">Vue.js & Bootstrap Developer Portfolio</h1>

<p align="center">
<a href="https://github.com/xtenzQ/xtenzQ.github.io/actions/workflows/build.yml"><img src="https://github.com/xtenzQ/xtenzQ.github.io/actions/workflows/build.yml/badge.svg" /></a>
<a href="https://github.com/xtenzQ/xtenzQ.github.io/actions/workflows/pages/pages-build-deployment"><img src="https://github.com/xtenzQ/xtenzQ.github.io/actions/workflows/pages/pages-build-deployment/badge.svg" /></a>
<a href="https://github.com/xtenzQ/developer-portfolio/actions/workflows/build.yml"><img src="https://github.com/xtenzQ/developer-portfolio/actions/workflows/build.yml/badge.svg" /></a>
<a href="https://github.com/xtenzQ/developer-portfolio/actions/workflows/pages/pages-build-deployment"><img src="https://github.com/xtenzQ/developer-portfolio/actions/workflows/pages/pages-build-deployment/badge.svg" /></a>
<br>
</p>

Expand All @@ -19,7 +19,7 @@
- [Bootstrap 5.2](https://github.com/twbs/bootstrap) for flat and clean responsive design;
- [Font Awesome 6](https://github.com/FortAwesome/Font-Awesome) for icons.

## 🚀 To-do
## 🤓 To-do
- [ ] Add blog;
- [ ] Enable AOS animations.

Expand All @@ -45,7 +45,8 @@ npm run serve

Website is built into `dist` directory.

**Don't forget to change/remove my `CNAME` file before deployment!**
## 🚀 Deploy
Before deployment, check `vue.config.js` and change repo path.

## 🤖 GitHub Workflows
Sources are automatically built on push and deployed into `gh-pages` branch with GitHub Pages.
Expand All @@ -54,7 +55,7 @@ Sources are automatically built on push and deployed into `gh-pages` branch with
I'd love to accept your contributions to this project. I use GitHub pull requests for this purpose. Consult [GitHub Help](https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests) for more information on using pull requests.

## 🧡 Find this repository useful?
Like the website or got inspired by it? Please support it by joining __[stargazers](https://github.com/xtenzQ/xtenzQ.github.io/stargazers)__ for this repository. :star:
Like the website or got inspired by it? Please support it by joining __[stargazers](https://github.com/xtenzQ/developer-portfolio/stargazers)__ for this repository. :star:

## License
```
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build && cp CNAME dist",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
Expand Down Expand Up @@ -39,7 +39,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/xtenzQ/xtenzQ.github.io.git"
"url": "git+https://github.com/xtenzQ/developer-portfolio.git"
},
"keywords": [
"portfolio",
Expand All @@ -48,7 +48,7 @@
"author": "Nikita Rusetskii",
"license": "MIT",
"bugs": {
"url": "https://github.com/xtenzQ/xtenzQ.github.io/issues"
"url": "https://github.com/xtenzQ/developer-portfolio/issues"
},
"homepage": "https://github.com/xtenzQ/xtenzQ.github.io#readme"
"homepage": "https://github.com/xtenzQ/developer-portfolio#readme"
}
3 changes: 3 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
transpileDependencies: true,
publicPath:
// remove it if you use it at <name>.github.io, otherwise change repo name below
process.env.NODE_ENV === "production" ? "/developer-portfolio/" : "/",
css: {
loaderOptions: {
sass: {
Expand Down

0 comments on commit 1df0707

Please sign in to comment.