purple-train-14007
09/08/2021, 7:32 PMname: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [master]
pull_request:
branches: [master]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Deploy_Dev:
runs-on: [WinRunner]
name: Deploy to Karma Lab Domain
environment: KarmaLab
steps:
- uses: actions/checkout@v2
- name: Integration Testing
run: |
ls
Deploy_Corp:
needs: [Deploy_Dev]
runs-on: [WinRunner]
name: Deploy to SEA Domain
environment: SEA
steps:
- uses: actions/checkout@v2
- name: Integration Testing
env:
STORAGE_ACCOUNT: ${{secrets.SEA_STORAGE_ACCNT}}
STORAGE_TOKEN: ${{secrets.SEA_STORAGE_ACCN_PWD}}
run: |
$env:AZURE_STORAGE_ACCOUNT = $env.STORAGE_ACCOUNT
$env:AZURE_STORAGE_SAS_TOKEN = $env.STORAGE_TOKEN
pulumi login --cloud-url <azblob://pulumi>
shell: PowerShell