Skip to content

Commit

Permalink
Merge pull request #3031 from DFE-Digital/735-fix-pagespeed-job
Browse files Browse the repository at this point in the history
[735] Remove HTTP auth from pagespeed
  • Loading branch information
saliceti authored Dec 12, 2022
2 parents 4ccf256 + 3363785 commit a519e49
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions .github/workflows/pagespeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,10 @@ jobs:
pagespeed:
runs-on: ubuntu-latest
steps:

- uses: Azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- uses: DfE-Digital/keyvault-yaml-secret@v1
id: keyvault-yaml-secret
with:
keyvault: ${{ secrets.KEY_VAULT}}
secret: INFRA-KEYS
key: HTTP-USERNAME, HTTP-PASSWORD

- name: Run Page Speed Tas
uses: fjogeleit/http-request-action@86014825e97036cd3e0903bbc72b3c5fff7474c4
- name: Run Page Speed
uses: fjogeleit/http-request-action@fd5cf60c69049efb1397207cc8b442709a869685
with:
url: 'https://get-into-teaching-app-pagespeed.london.cloudapps.digital/pagespeed/run'
method: 'POST'
username: ${{ steps.keyvault-yaml-secret.outputs.HTTP-USERNAME }}
password: ${{ steps.keyvault-yaml-secret.outputs.HTTP-PASSWORD }}
url: https://get-into-teaching-app-pagespeed.london.cloudapps.digital/pagespeed/run
method: POST
timeout: 3600000 # 1hr in ms
preventFailureOnNoResponse: true

0 comments on commit a519e49

Please sign in to comment.