File tree 1 file changed +1
-24
lines changed
1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change @@ -43,29 +43,6 @@ outputs:
43
43
runs :
44
44
using : ' composite'
45
45
steps :
46
- - name : Check Oxygen version
47
- shell : ' bash'
48
- id : check_version
49
- run : |
50
- TOKEN="${{ inputs.oxygen_deployment_token }}"
51
- echo "::add-mask::$TOKEN"
52
-
53
- if [[ "${TOKEN}" == *":"* ]]; then
54
- echo "Multi token"
55
- IFS=':' read -ra token_list <<< "${TOKEN}"
56
- token=${token_list[1]}
57
- echo "::add-mask::$token"
58
- echo "token=$token" >> $GITHUB_OUTPUT
59
- else
60
- if [[ "${TOKEN}" =~ ^[A-Za-z0-9+/]+[=]{0,2}$ ]]; then
61
- echo "Token is in V2 format"
62
- echo "token=${TOKEN}" >> $GITHUB_OUTPUT
63
- else
64
- echo "Your repository is out of date, please disconnect and reconnect your storefront on Shopify"
65
- exit 1
66
- fi
67
- fi
68
-
69
46
- name : Build and Publish to Oxygen
70
47
shell : ' bash'
71
48
id : ' oxygen-cli-action'
79
56
--assetsFolder=${{ inputs.oxygen_client_dir }} \
80
57
--workerFolder=${{ inputs.oxygen_worker_dir }} \
81
58
--verificationMaxDuration=${{ inputs.oxygen_deployment_verification_max_duration }} \
82
- --token=${{ steps.check_version.outputs.token }}"
59
+ --token=${{ inputs.oxygen_deployment_token }}"
83
60
if [ "${{ inputs.oxygen_deployment_verification }}" == "false" ]; then
84
61
oxygen_command+=" --skipVerification"
85
62
fi
You can’t perform that action at this time.
0 commit comments