-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (37 loc) · 1.3 KB
/
npm-gulp.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: NodeJS with Gulp
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm install
gulp
- name: Deploy GitHub Pages site
uses: actions/[email protected]
with:
# GitHub token
token: # default is ${{ github.token }}
# Time in milliseconds after which to timeout and cancel the deployment (default: 10 minutes)
timeout: # optional, default is 600000
# Maximum number of status report errors before cancelling a deployment (default: 10)
error_count: # optional, default is 10
# Time in milliseconds between two deployment status report (default: 5 seconds)
reporting_interval: # optional, default is 5000
# Name of the artifact to deploy
artifact_name: kanister.io
# Is this attempting to deploy a pull request as a GitHub Pages preview site? (NOTE: This feature is only in alpha currently and is not available to the public!)
preview: false