The deploy-on-merge.yml workflow automatically deploys to Workday on every merge to main.
Go to Settings → Secrets and variables → Actions → Secrets and add:
| Secret | Description |
|---|---|
WDCLI_CLIENT_ID |
Workday system user client ID |
WDCLI_CLIENT_SECRET |
Workday system user client secret |
Go to Settings → Secrets and variables → Actions → Variables and add:
| Variable | Example | Description |
|---|---|---|
WDCLI_APP_REF_ID |
localdisk_nkzjqw |
App reference ID |
WDCLI_TENANT_ALIAS |
my-tenant |
Tenant lookup alias |
WDCLI_ACCOUNT |
nkzjqw |
Account short ID |
On every merge to main, the deploy workflow will:
- Check out the repo
- Extract
bin/wdcli-installer-linux-x64-v1.7.25.tar.gz - Authenticate using
wdcli auth login --system-userwith the secrets above - Run
wdcli app deployusing the variables above - Log out