-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
707 additions
and
657 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: 🚀 Deploy lumen8-modules on push with FTP | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- "nodejs/vue2-element-ui/**" | ||
|
||
jobs: | ||
deploy: | ||
name: 🎉 Deploy to langnang.byethost14.com | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🚚 Get latest code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js 14.x | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14.x | ||
|
||
- name: Install && Build | ||
run: | | ||
cd nodejs/vue2-element-ui | ||
yarn install | ||
npm run build | ||
# - name: Install composer dependencies | ||
# run: cd composer/lumen8-modules && composer install | ||
|
||
- name: 📂 Sync files | ||
uses: SamKirkland/[email protected] | ||
with: | ||
# ftp server | ||
server: ftpupload.net | ||
# ftp username | ||
username: b14_37610952 | ||
# ftp password | ||
password: ${{ secrets.ftp_password }} | ||
# local dir | ||
local-dir: ./nodejs/vue2-element-ui/dist/ | ||
# Path to upload to on the server. Must end with trailing slash / | ||
server-dir: /htdocs/~/nodejs/pattle/ | ||
# File to Exclude | ||
exclude: | | ||
**/.git* | ||
**/.git*/** | ||
**/.github*/** | ||
**/node_modules/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
# GitHub Actions Vue Demo | ||
name: Vue App Build and Deploy # 名称 | ||
on: | ||
push: | ||
branches: | ||
- master # master 分支发生push事件时触发 | ||
jobs: | ||
build-and-deploy: # 任务 | ||
runs-on: ubuntu-latest # 运行环境 | ||
steps: # 运行步骤 | ||
- name: Checkout | ||
uses: actions/checkout@master # 获取源码 | ||
|
||
- name: Install and Build | ||
run: | | ||
npm install | ||
npm run build | ||
- name: Deploy | ||
uses: JamesIves/github-pages-deploy-action@master | ||
env: | ||
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | ||
BRANCH: gh-pages | ||
FOLDER: dist | ||
# GitHub Actions Vue Demo | ||
name: Vue App Build and Deploy # 名称 | ||
on: | ||
push: | ||
branches: | ||
- master # master 分支发生push事件时触发 | ||
jobs: | ||
build-and-deploy: # 任务 | ||
runs-on: ubuntu-latest # 运行环境 | ||
steps: # 运行步骤 | ||
- name: Checkout | ||
uses: actions/checkout@master # 获取源码 | ||
|
||
- name: Install and Build | ||
run: | | ||
npm install | ||
npm run build | ||
- name: Deploy | ||
uses: JamesIves/github-pages-deploy-action@master | ||
env: | ||
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | ||
BRANCH: gh-pages | ||
FOLDER: dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# Palette | ||
|
||
> 调色板(离线缓存版) | ||
## Basic | ||
|
||
- add | ||
- del | ||
- edit | ||
|
||
## Batch | ||
|
||
- import | ||
- export | ||
- del | ||
# Palette | ||
|
||
> 调色板(离线缓存版) | ||
## Basic | ||
|
||
- add | ||
- del | ||
- edit | ||
|
||
## Batch | ||
|
||
- import | ||
- export | ||
- del |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module.exports = { | ||
presets: [ | ||
'@vue/cli-plugin-babel/preset' | ||
] | ||
} | ||
module.exports = { | ||
presets: [ | ||
'@vue/cli-plugin-babel/preset' | ||
] | ||
} |
File renamed without changes.
File renamed without changes.
40 changes: 20 additions & 20 deletions
40
public/index.html → nodejs/vue2-element-ui/public/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | ||
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> | ||
<title><%= htmlWebpackPlugin.options.title %></title> | ||
</head> | ||
|
||
<body> | ||
<noscript> | ||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. | ||
Please enable it to continue.</strong> | ||
</noscript> | ||
<div id="app"></div> | ||
<!-- built files will be auto injected --> | ||
</body> | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | ||
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> | ||
<title><%= htmlWebpackPlugin.options.title %></title> | ||
</head> | ||
|
||
<body> | ||
<noscript> | ||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. | ||
Please enable it to continue.</strong> | ||
</noscript> | ||
<div id="app"></div> | ||
<!-- built files will be auto injected --> | ||
</body> | ||
|
||
</html> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
Oops, something went wrong.