Skip to content

Commit af45216

Browse files
committed
Update OCI deploy workflow to fix command syntax
Adjusted the deploy command to use the correct syntax for OCI CLI, replacing `oci container-instance create` with `oci container-instances container-instance create`. This ensures compatibility with the updated CLI structure.
1 parent 35107c0 commit af45216

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/deploy-to-oci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,8 @@ jobs:
5151
5252
- name: Deploy to Container Instances
5353
run: |
54-
export PATH=$HOME/bin:$PATH
5554
oci container-instance --help \
56-
oci container-instance create \
55+
oci container-instances container-instance create \
5756
--compartment-id ${{ secrets.OCI_COMPARTMENT_ID }} \
5857
--availability-domain ${{ secrets.OCI_AVAILABILITY_DOMAIN }} \
5958
--shape ${{ secrets.OCI_SHAPE }} \

0 commit comments

Comments
 (0)