Created CV Section #6
10
.github/workflows/ftpDeploy.yml
vendored
10
.github/workflows/ftpDeploy.yml
vendored
@ -7,6 +7,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- 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
|
||||||
|
@ -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