upadted workflow and gulpfile
This commit is contained in:
parent
102a614214
commit
977c45782f
10
.github/workflows/ftpDeploy.yml
vendored
10
.github/workflows/ftpDeploy.yml
vendored
@ -8,6 +8,16 @@ jobs:
|
|||||||
- name: 🚚 Get latest code
|
- name: 🚚 Get latest code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Use Node.js 12
|
||||||
|
uses: actions/setup-node@v2-beta
|
||||||
|
with:
|
||||||
|
node-version: '12'
|
||||||
|
|
||||||
|
- name: 🔨Run Gulp
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
npm start
|
||||||
|
|
||||||
- name: 📂 Sync files
|
- name: 📂 Sync files
|
||||||
uses: SamKirkland/FTP-Deploy-Action@4.1.0
|
uses: SamKirkland/FTP-Deploy-Action@4.1.0
|
||||||
with:
|
with:
|
||||||
|
@ -85,4 +85,4 @@ gulp.task("browserSync", () =>
|
|||||||
gulp.watch("dist").on("change", browserSync.reload)
|
gulp.watch("dist").on("change", browserSync.reload)
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task("default", gulp.series(gulp.parallel("watchFiles", "deploy")));
|
gulp.task("default", gulp.series(gulp.parallel("minifyHTML", "minifyCSS", "minifyJS", "movePHPFiles")));
|
||||||
|
Loading…
Reference in New Issue
Block a user