-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (42 loc) · 1.05 KB
/
FETests.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
name: Build And Deploy FE
on:
workflow_dispatch:
push:
branches:
- develop
- test
- master
pull_request:
types: [opened, synchronize, reopened, closed, ready_for_review]
branches:
- develop
- test
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref}}
cancel-in-progress: true
jobs:
build:
name: Build ${{ github.base_ref || github.ref_name}}
runs-on: ubuntu-latest
steps:
- name: Github Context
run: echo "${{ toJSON(github) }}"
- name: head_ref
run: echo "${{ github.head_ref}}"
- name: base_ref
run: echo "${{ github.base_ref}}"
- name: ref_name
run: echo "${{ github.ref_name}}"
- name: ref
run: echo "${{ github.ref}}"
AsEnvir:
name: Build as envir
runs-on: ubuntu-latest
environment:
name: ${{ github.base_ref || github.ref_name}}
steps:
- name: envir var
run: echo "${{vars.API_URL}}"
- name: envir context
run: echo "${{toJSON(vars)}}"