Skip to content

Commit b69c3de

Browse files
committed
Update deployment to only deploy to static website hosting in Azure
1 parent 36527b3 commit b69c3de

File tree

2 files changed

+1
-27
lines changed

2 files changed

+1
-27
lines changed

.github/workflows/build-documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
with:
1212
fetch-depth: 0
1313
- name: Setup Ruby
14-
uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
14+
uses: ruby/setup-ruby@v1.193.0
1515
with:
1616
ruby-version: 2.7
1717
- name: Install dependencies

.github/workflows/deployment.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,7 @@ on:
66
- master
77

88
jobs:
9-
build:
10-
uses: ./.github/workflows/build-documentation.yml
11-
deployment:
12-
needs: build
13-
runs-on: ubuntu-latest
14-
steps:
15-
- name: Checkout
16-
uses: actions/checkout@v4
17-
- uses: azure/login@v1
18-
with:
19-
creds: ${{ secrets.AZURE_CREDENTIALS }}
20-
- name: Download build artifact
21-
uses: actions/download-artifact@v4
22-
with:
23-
name: documentation
24-
path: public
25-
- name: Upload to blob storage
26-
uses: azure/CLI@v1
27-
with:
28-
inlineScript: |
29-
az storage blob upload-batch --overwrite --account-name ${{ secrets.AZURE_CONTAINER }} --auth-mode key -d '$web' -s public
30-
- name: logout
31-
run: |
32-
az logout
33-
if: always()
349
pledger-web:
35-
needs: build
3610
runs-on: ubuntu-latest
3711
steps:
3812
- name: Checkout

0 commit comments

Comments
 (0)