瀏覽代碼

Actions: Remove CX_VERSION replacement

Alessandro Pignotti 2 年之前
父節點
當前提交
1233d181f8
共有 1 個文件被更改,包括 1 次插入8 次删除
  1. 1 8
      .github/workflows/build_and_deploy_ext2_img.yml

+ 1 - 8
.github/workflows/build_and_deploy_ext2_img.yml

@@ -25,12 +25,6 @@ on:
         required: true
         default: 'base_image.ext2'
 
-      CX_VERSION:
-        type: string
-        description: Version of CX to use.
-        required: true
-        default: "20230515_78"
-
       LOGIN_UID:
           type: string
           description: 'UID of the starting process.'
@@ -122,14 +116,13 @@ jobs:
       - run: sudo mv assets examples tun xterm favicon.ico index.html login.html network.js scrollbar.css serviceWorker.js tower.ico $DEPLOY_DIR
       
       # This step updates the default index.html file by performing the following actions:
-      #   1. Replaces all occurrences of UID, GID, and CX_VERSION with their respective input parameters.
+      #   1. Replaces all occurrences of UID and GID with their respective input parameters.
       #   2. Replaces all occurrences of IMAGE_URL with the URL to the image.
       #   3. Replaces all occurrences of DEVICE_TYPE to bytes.
       - name: Adjust index.html
         run: |
           sudo sed -i 's#UID#"${{ github.event.inputs.LOGIN_UID }}"#g' ${{ env.DEPLOY_DIR }}index.html
           sudo sed -i 's#GID#"${{ github.event.inputs.LOGIN_GID }}"#g' ${{ env.DEPLOY_DIR }}index.html
-          sudo sed -i 's#CX_VERSION#${{ github.event.inputs.CX_VERSION }}#g' ${{ env.DEPLOY_DIR }}index.html
           sudo sed -i 's#IMAGE_URL#"${{ env.IMAGE_NAME }}"#g' ${{ env.DEPLOY_DIR }}index.html
           sudo sed -i 's#DEVICE_TYPE#"bytes"#g' ${{ env.DEPLOY_DIR }}index.html