Skip to content

Commit

Permalink
use azure login action as replacement for basic auth
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdholt committed Feb 23, 2024
1 parent c64110d commit 3b16d3d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/cd-deploy-color-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ jobs:
needs: build

steps:
- name: 'Azure Login'
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS_FAST_DESIGN }}

- name: Deploy PR
uses: actions/download-artifact@v2
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/cd-deploy-www-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ jobs:
needs: build

steps:
- name: 'Azure Login'
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS_FAST_DESIGN }}

- uses: actions/download-artifact@v2
with:
name: ${{ env.ARTIFACT_NAME }}
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/cd-deploy-www-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- master
- archives/fast-element-1
paths:
- '.github/workflows/cd-deploy-www-staging.yml'
- 'packages/utilities/fast-color/docs/api-report.md'
Expand All @@ -38,6 +38,10 @@ jobs:
- name: Checkout Branch
uses: actions/checkout@master

- uses: actions/setup-node@v3
with:
node-version: 16.20.0

- name: Install Lerna
run: yarn global add [email protected]

Expand Down Expand Up @@ -65,6 +69,11 @@ jobs:
needs: build

steps:
- name: 'Azure Login'
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS_FAST_DESIGN }}

- name: Deploy PR
uses: actions/download-artifact@v2
with:
Expand Down

0 comments on commit 3b16d3d

Please sign in to comment.