Skip to content

Commit

Permalink
env
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 committed Aug 8, 2024
1 parent 229ce8f commit d0c4354
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/create_instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,15 @@ jobs:

- name: Run Python script
run: poetry run python main.py create
env:
OVH_ENDPOINT: ${{ vars.OVH_ENDPOINT }}
OVH_INSTANCE_FLAVOR_ID: ${{ vars.OVH_INSTANCE_FLAVOR_ID }}
OVH_INSTANCE_IMAGE_ID: ${{ vars.OVH_INSTANCE_IMAGE_ID }}
OVH_REGION: ${{ vars.OVH_REGION }}

OVH_APPLICATION_KEY: ${{ secrets.OVH_APPLICATION_KEY }}
OVH_APPLICATION_SECRET: ${{ secrets.OVH_APPLICATION_SECRET }}
OVH_CONSUMER_KEY: ${{ secrets.OVH_CONSUMER_KEY }}
OVH_SSH_KEY_ID: ${{ secrets.OVH_SSH_KEY_ID }}
OVH_SERVICE_NAME: ${{ secrets.OVH_SERVICE_NAME }}
AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }}
12 changes: 12 additions & 0 deletions .github/workflows/delete_instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,15 @@ jobs:

- name: Run Python script
run: poetry run python main.py delete
env:
OVH_ENDPOINT: ${{ vars.OVH_ENDPOINT }}
OVH_INSTANCE_FLAVOR_ID: ${{ vars.OVH_INSTANCE_FLAVOR_ID }}
OVH_INSTANCE_IMAGE_ID: ${{ vars.OVH_INSTANCE_IMAGE_ID }}
OVH_REGION: ${{ vars.OVH_REGION }}

OVH_APPLICATION_KEY: ${{ secrets.OVH_APPLICATION_KEY }}
OVH_APPLICATION_SECRET: ${{ secrets.OVH_APPLICATION_SECRET }}
OVH_CONSUMER_KEY: ${{ secrets.OVH_CONSUMER_KEY }}
OVH_SSH_KEY_ID: ${{ secrets.OVH_SSH_KEY_ID }}
OVH_SERVICE_NAME: ${{ secrets.OVH_SERVICE_NAME }}
AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }}

0 comments on commit d0c4354

Please sign in to comment.