Skip to content

Commit

Permalink
updated deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
perennialAutodidact committed Mar 10, 2024
1 parent d65ee90 commit b04f402
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- 'replace-nx-with-turborepo'

jobs:
install_oracle_cli:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: 'Install Oracle CLI'
Expand All @@ -14,4 +14,16 @@ jobs:
chmod +x install.sh
./install.sh --accept-all-defaults
exec -l $SHELL
- name: 'Check existing instance'
run : |
echo "::set-env name=INSTANCE_OCID::$(\
oci compute instance list \
--lifecycle-state RUNNING \
--compartment-id ${{secrets.VM_COMPARTMENT_ID}} \
--display-name memory-snap \
--query `data [0].id` \
--raw-output \
)"

0 comments on commit b04f402

Please sign in to comment.