-
Notifications
You must be signed in to change notification settings - Fork 14
47 lines (43 loc) · 1.64 KB
/
deploy-foundryvtt.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: deploy-foundryvtt
on:
push:
branches:
- main
workflow_dispatch:
permissions:
id-token: write
contents: read
jobs:
deploy-aas:
if: vars.Type == 'AAS'
uses: ./.github/workflows/deploy-aas.yml
with:
LOCATION: ${{ vars.LOCATION }}
BASE_RESOURCE_NAME: ${{ vars.BASE_RESOURCE_NAME }}
RESOURCE_GROUP_NAME: ${{ vars.RESOURCE_GROUP_NAME }}
STORAGE_CONFIGURATION: ${{ vars.STORAGE_CONFIGURATION }}
APPSERVICEPLAN_CONFIGURATION: ${{ vars.APPSERVICEPLAN_CONFIGURATION }}
DEPLOY_DDBPROXY: ${{ vars.DEPLOY_DDBPROXY }}
secrets:
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
FOUNDRY_USERNAME: ${{ secrets.FOUNDRY_USERNAME }}
FOUNDRY_PASSWORD: ${{ secrets.FOUNDRY_PASSWORD }}
FOUNDRY_ADMIN_KEY: ${{ secrets.FOUNDRY_ADMIN_KEY }}
deploy-aci:
if: vars.Type == 'ACI'
uses: ./.github/workflows/deploy-aci.yml
with:
location: ${{ vars.LOCATION }}
BASE_RESOURCE_NAME: ${{ vars.BASE_RESOURCE_NAME }}
RESOURCE_GROUP_NAME: ${{ vars.RESOURCE_GROUP_NAME }}
STORAGE_CONFIGURATION: ${{ vars.STORAGE_CONFIGURATION }}
CONTAINER_CONFIGURATION: ${{ vars.CONTAINER_CONFIGURATION }}
secrets:
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
FOUNDRY_USERNAME: ${{ secrets.FOUNDRY_USERNAME }}
FOUNDRY_PASSWORD: ${{ secrets.FOUNDRY_PASSWORD }}
FOUNDRY_ADMIN_KEY: ${{ secrets.FOUNDRY_ADMIN_KEY }}