Skip to content

Commit

Permalink
Update orchestrator-deploy.yml
Browse files Browse the repository at this point in the history
Now passing through secret to the orchestrator action
  • Loading branch information
Johnsel committed Dec 9, 2023
1 parent c1deae2 commit 3950237
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/orchestrator-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ jobs:

Linux:
runs-on: [self-hosted, orchestrator]

steps:
- name: Cycle VMs
with:
XOA_URL: ${{ secrets.XOA_URL }}
XOA_USER: ${{ secrets.XOA_USER }}
XOA_PASSWORD: ${{ secrets.XOA_PASSWORD }}
run: |
pushd ~
ruby ./main.rb
ruby ./linux.rb
terraform apply # --auto-approve -- not while testing
XOA_URL=$XOA_URL XOA_USER=$XOA_USER XOA_PASSWORD=$XOA_PASSWORD terraform apply # --auto-approve -- not while testing

0 comments on commit 3950237

Please sign in to comment.