Skip to content

Commit

Permalink
test az version
Browse files Browse the repository at this point in the history
  • Loading branch information
Jord-Gui committed Oct 4, 2023
1 parent 0a76cdc commit 448db89
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
# environment: prod
# secrets: inherit

build-site-prod:
uses: ./.github/workflows/build-static-site.yml
secrets: inherit
# build-site-prod:
# uses: ./.github/workflows/build-static-site.yml
# secrets: inherit

deploy-site-prod:
uses: ./.github/workflows/deploy-static-site.yml
with:
environment: prod
secrets: inherit
needs: build-site-prod
# needs: build-site-prod

20 changes: 11 additions & 9 deletions .github/workflows/deploy-static-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,18 @@ jobs:
tenant-id: ${{ env.TENANT_ID }}
subscription-id: ${{ env.SUBSCRIPTION_ID }}

- name: Download all workflow run artifacts
uses: actions/download-artifact@v3
with:
name: out
# - name: Download all workflow run artifacts
# uses: actions/download-artifact@v3
# with:
# name: out

- name: Print working directory
run: ls

- name: List blob storage
uses: azure/CLI@v1
with:
inlineScript: |
az storage blob list --account-name sswdory --auth-mode key -c '$web'
# - name: List blob storage
# uses: azure/CLI@v1
# with:
# inlineScript: |
# az storage blob list --account-name sswdory --auth-mode key -c '$web'
- run: |
az --version

0 comments on commit 448db89

Please sign in to comment.