This repository was archived by the owner on May 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 5
5
description : Release Type
6
6
required : false
7
7
default : staging
8
+ RELEASE_TAG :
9
+ description : Release Tag
10
+ required : true
8
11
runs :
9
12
using : composite
10
13
steps :
11
14
- name : Tag build
12
- run : echo "${{ inputs.RELEASE_TYPE }} $(date -u +'%Y-%m-%dT%H:%M:%SZ')" > build/version
15
+ run : echo "${{ inputs.RELEASE_TYPE }}--GITHUB_REF:${{ inputs.RELEASE_TAG }}--DATE: $(date -u +'%Y-%m-%dT%H:%M:%SZ')" > build/version.txt
13
16
shell : bash
Original file line number Diff line number Diff line change 24
24
- name : Versioning
25
25
uses : ./.github/actions/versioning
26
26
with :
27
+ RELEASE_TAG : ${{ github.ref_name }}
27
28
RELEASE_TYPE : production
28
29
- name : Extract version
29
30
id : extract_version
Original file line number Diff line number Diff line change 21
21
uses : ./.github/actions/build
22
22
with :
23
23
NODE_ENV : staging
24
+ - name : Versioning
25
+ uses : ./.github/actions/versioning
26
+ with :
27
+ RELEASE_TAG : ${{ github.sha }}
28
+ RELEASE_TYPE : staging
24
29
- name : Publish to Cloudflare Pages Staging
25
30
uses : ./.github/actions/publish_to_pages_staging
26
31
with :
You can’t perform that action at this time.
0 commit comments