mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-11 14:00:29 +00:00
ci: Pass secrets as environment variables to test step
This commit is contained in:
@@ -30,4 +30,12 @@ jobs:
|
||||
run: npm ci # Use ci for faster, more reliable installs in CI
|
||||
|
||||
- name: Run tests
|
||||
env: # Add environment variables from GitHub secrets
|
||||
PROXMOX_HOST: ${{ secrets.PROXMOX_HOST }}
|
||||
PROXMOX_TOKEN_ID: ${{ secrets.PROXMOX_TOKEN_ID }}
|
||||
PROXMOX_TOKEN_SECRET: ${{ secrets.PROXMOX_TOKEN_SECRET }}
|
||||
# Add other required primary variables here if needed, e.g.:
|
||||
# PBS_HOST: ${{ secrets.PBS_HOST }}
|
||||
# PBS_TOKEN_ID: ${{ secrets.PBS_TOKEN_ID }}
|
||||
# PBS_TOKEN_SECRET: ${{ secrets.PBS_TOKEN_SECRET }}
|
||||
run: npm test
|
||||
Reference in New Issue
Block a user