Update build
This commit is contained in:
parent
f0f71fa8a9
commit
bb6940b834
4 changed files with 1440 additions and 3 deletions
3
.github/workflows/build-and-deploy.yml
vendored
3
.github/workflows/build-and-deploy.yml
vendored
|
@ -23,5 +23,6 @@ jobs:
|
||||||
server: ${{ secrets.HOST }}
|
server: ${{ secrets.HOST }}
|
||||||
port: ${{ secrets.PORT }}
|
port: ${{ secrets.PORT }}
|
||||||
ssh_private_key: ${{ secrets.KEY }}
|
ssh_private_key: ${{ secrets.KEY }}
|
||||||
remote_path: "/html/sinsaludar.com"
|
local_path: './dist/*'
|
||||||
|
remote_path: '/html/sinsaludar.com'
|
||||||
sftp_only: true
|
sftp_only: true
|
||||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
||||||
node_modules
|
node_modules
|
||||||
styles.css
|
styles.css
|
||||||
|
dist
|
1433
package-lock.json
generated
1433
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -3,8 +3,12 @@
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"browserslist": "npx browserslist@latest --update-db -y",
|
||||||
|
"build": "npm run clean && npm run browserslist && npm run tailwind && npm run copy",
|
||||||
|
"clean": "rm -rf dist && mkdir dist",
|
||||||
|
"copy": "cp index.html dist/",
|
||||||
"start": "tailwindcss -i tailwind.css -o styles.css -m --watch",
|
"start": "tailwindcss -i tailwind.css -o styles.css -m --watch",
|
||||||
"build": "tailwindcss -i tailwind.css -o styles.css -m"
|
"tailwind": "tailwindcss -i tailwind.css -o dist/styles.css --minify"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in a new issue