mirror of
https://github.com/bartvdbraak/SlayerWeightCalculator.git
synced 2025-04-27 17:41:22 +00:00
Github Pages deploy steps
This commit is contained in:
parent
4cb211c804
commit
2853e00ab1
1 changed files with 16 additions and 0 deletions
16
README.md
16
README.md
|
@ -54,3 +54,19 @@ yarn build
|
||||||
```
|
```
|
||||||
yarn lint
|
yarn lint
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Github Pages Deploy
|
||||||
|
Clone the gh-pages branch (it uses a different `publicpath` module).
|
||||||
|
|
||||||
|
Build dist folder:
|
||||||
|
```
|
||||||
|
yarn build
|
||||||
|
```
|
||||||
|
Remove old root build files
|
||||||
|
```
|
||||||
|
rm -rf js img css index.html
|
||||||
|
```
|
||||||
|
Move new files to root.
|
||||||
|
```
|
||||||
|
rsync -a dist/* .
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue