99 build_and_publish :
1010 name : Builds and Publishes to Cloudflare Pages Production
1111 environment : Production
12- runs-on : ubuntu-latest # TODO: Replace this with the appropriate runner for Deriv-Api-Docs when provided
12+ runs-on : ubuntu-latest
1313 outputs :
1414 RELEASE_VERSION : ${{ steps.extract_version.outputs.RELEASE_VERSION }}
1515 steps :
1616 - name : Checkout
17- uses : actions/checkout@v4
17+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
1818 - name : Setup Node
1919 uses : ./.github/actions/setup_node
2020 - name : Install dependencies
@@ -30,14 +30,14 @@ jobs:
3030 RELEASE_TYPE : ${{ env.RELEASE_TYPE }}
3131 - name : Extract version
3232 id : extract_version
33- run : echo "RELEASE_VERSION=$(cat build/version)" >> $GITHUB_OUTPUT
33+ run : echo "RELEASE_VERSION=$(cat build/version.txt )" >> $GITHUB_OUTPUT
3434 - name : Publish to Cloudflare Pages Production
3535 uses : ./.github/actions/publish_to_pages_production
3636 with :
3737 CLOUDFLARE_ACCOUNT_ID : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
3838 CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_API_TOKEN }}
3939 - name : Upload Build Artifact
40- uses : actions/upload-artifact@v4
40+ uses : actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8
4141 with :
4242 name : build
4343 path : build
5151 needs : [build_and_publish]
5252 steps :
5353 - name : Checkout
54- uses : actions/checkout@v4
54+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
5555 - name : Conclusion
56- uses : technote-space/workflow-conclusion-action@v3
56+ uses : technote-space/workflow-conclusion-action@45ce8e0eb155657ab8ccf346ade734257fd196a5
5757 - name : Create Slack Message
5858 id : create_slack_message
5959 run : |
7575 needs : [build_and_publish]
7676 steps :
7777 - name : Checkout
78- uses : actions/checkout@v4
78+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
7979 - name : Download Build Artifact
80- uses : actions/download-artifact@v4
80+ uses : actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935
8181 with :
8282 name : build
8383 path : build
0 commit comments