Skip to content

Commit

Permalink
DEL: example code
Browse files Browse the repository at this point in the history
  • Loading branch information
zoe-marie authored Apr 30, 2024
1 parent 658df39 commit 9dabc7b
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/create-user-mongo-db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,36 +8,3 @@ on:
email:
description: where to send the email
required: true

env:
MONGODB_ATLAS_PUBLIC_API_KEY: ${{ secrets.PUBLIC_API_KEY }}
MONGODB_ATLAS_PRIVATE_API_KEY: ${{ secrets.PRIVATE_API_KEY }}
MONGODB_ATLAS_ORG_ID: '6630fe6c4a18910569ad5e79'
jobs:
setup:
runs-on: ubuntu-latest

steps:
- name: Setup AtlasCLI and create a project
id: create-project
uses: mongodb/[email protected]
with:
create-project-name: test-setup-project
- name: Run setup
id: setup
uses: mongodb/[email protected]
with:
run-setup: true
project-id: ${{ steps.create-project.outputs.create-project-id }}
cluster-name: test-cluster
username: test-user
password: test-password
- name: Retrieve Connection String
shell: bash
run: |
echo "${{ steps.setup.outputs.connection-string }}"
- name: Teardown
uses: mongodb/[email protected]
with:
delete-project-id: ${{ steps.create-project.outputs.create-project-id }}
delete-cluster-name: test-cluster

0 comments on commit 9dabc7b

Please sign in to comment.