Update environments.yml #2491
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: vcpt-license gitops | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- "infra/**" | |
branches: [license] | |
jobs: | |
gitops: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install vc-build | |
run: | | |
dotnet tool install --global VirtoCommerce.GlobalTool | |
- name: Update app | |
run: | | |
vc-build CloudEnvUpdate -CloudToken ${{ secrets.VCPT_PLATFORM_TOKEN }} -ArgoConfigFile $ENV_FILE -CloudUrl https://portal.virtocommerce.cloud | |
env: | |
ENV_FILE: "./infra/environments.yml" |