-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (28 loc) · 1.04 KB
/
sample.yml
File metadata and controls
35 lines (28 loc) · 1.04 KB
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
name: CI - Sample
on: repository_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout by SHA
uses: actions/checkout@v2
with:
###: easy-deploy chrome extension send sha within client_payload
ref: ${{ github.event.client_payload.sha }}
# - name: Install dependencies
# run: npm ci
# - name: Run tests
# run: npm run test
# - name: Create build
# run: npm run build
# - name: Deploy to DEV
# ###: easy-deploy chrome extension send event_type within client_payload
# if: github.event.client_payload.event_type == 'deploy-dev'
# ###: <script to deploy your project>
# run: echo 'Deploying DEV... Well done!'
# - name: Deploy to QA
# if: github.event.client_payload.event_type == 'deploy-qa'
# run: echo 'Deploying QA... Well done!'
# - name: Deploy to PROD
# if: github.event.client_payload.event_type == 'deploy-prod'
# run: echo 'Deploying PRODUCTION... Well done!'