This repository was archived by the owner on May 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 8
8
name : Builds and Publishes to Cloudflare Pages Production
9
9
environment : Production
10
10
runs-on : ubuntu-latest # TODO: Replace this with the appropriate runner for Deriv-Api-Docs when provided
11
+ outputs :
12
+ RELEASE_VERSION : ${{ steps.extract_version.outputs.RELEASE_VERSION }}
11
13
steps :
12
14
- name : Checkout
13
15
uses : actions/checkout@v4
19
21
uses : ./.github/actions/build
20
22
with :
21
23
NODE_ENV : production
24
+ - name : Versioning
25
+ uses : ./.github/actions/versioning
26
+ with :
27
+ RELEASE_TYPE : production
28
+ - name : Extract version
29
+ id : extract_version
30
+ run : echo "RELEASE_VERSION=$(cat build/version)" >> $GITHUB_OUTPUT
22
31
- name : Publish to Cloudflare Pages Production
23
32
uses : ./.github/actions/publish_to_pages_production
24
33
with :
@@ -36,17 +45,10 @@ jobs:
36
45
uses : actions/checkout@v4
37
46
- name : Conclusion
38
47
uses : technote-space/workflow-conclusion-action@v3
39
- - name : Versioning
40
- uses : ./.github/actions/versioning
41
- with :
42
- RELEASE_TYPE : production
43
- - name : Read from version file
44
- id : readVersion
45
- run : echo "version=$(cat build/version)" >> $GITHUB_OUTPUT
46
48
- name : Send Slack Notification
47
49
uses : ./.github/actions/notify_slack
48
50
with :
49
51
RELEASE_TYPE : Production
50
52
SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
51
53
STATUS : ${{ env.WORKFLOW_CONCLUSION }}
52
- VERSION : ${{ steps.readVersion .outputs.version }}
54
+ version : ${{ needs.build_and_publish .outputs.RELEASE_VERSION }}
You can’t perform that action at this time.
0 commit comments