mirror of
https://github.com/bitwarden/server
synced 2025-12-31 23:53:17 +00:00
Pin versions of actions in workflow (#1337)
This commit is contained in:
36
.github/workflows/qa-deploy.yml
vendored
36
.github/workflows/qa-deploy.yml
vendored
@@ -41,12 +41,12 @@ jobs:
|
||||
base_path: .
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v1
|
||||
uses: actions/setup-node@46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea
|
||||
with:
|
||||
node-version: '10.x'
|
||||
node-version: '14'
|
||||
|
||||
- name: Print Environment
|
||||
run: |
|
||||
@@ -92,7 +92,7 @@ jobs:
|
||||
GULP: ${{ matrix.gulp }}
|
||||
|
||||
- name: Upload build artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
|
||||
with:
|
||||
name: ${{ env.SERVICE_NAME }}.zip
|
||||
path: ${{ env.BASE_PATH }}/src/${{ env.SERVICE_NAME }}/${{ env.SERVICE_NAME }}.zip
|
||||
@@ -135,7 +135,7 @@ jobs:
|
||||
- update-db
|
||||
steps:
|
||||
- name: Download aritifacts
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v158ca71f7c614ae705e79f25522ef4658df18253
|
||||
with:
|
||||
name: Identity.zip
|
||||
|
||||
@@ -153,7 +153,7 @@ jobs:
|
||||
appservices-identity-webapp-publish-profile"
|
||||
|
||||
- name: Deploy Identity
|
||||
uses: azure/webapps-deploy@v2
|
||||
uses: azure/webapps-deploy@798e43877120eda6a2a690a4f212c545e586ae31
|
||||
with:
|
||||
app-name: ${{ steps.retrieve-secrets.outputs.appservices-identity-webapp-name }}
|
||||
slot-name: "staging"
|
||||
@@ -168,7 +168,7 @@ jobs:
|
||||
- update-db
|
||||
steps:
|
||||
- name: Download aritifacts
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v158ca71f7c614ae705e79f25522ef4658df18253
|
||||
with:
|
||||
name: Api.zip
|
||||
|
||||
@@ -186,7 +186,7 @@ jobs:
|
||||
appservices-api-webapp-publish-profile"
|
||||
|
||||
- name: Deploy Api
|
||||
uses: azure/webapps-deploy@v2
|
||||
uses: azure/webapps-deploy@798e43877120eda6a2a690a4f212c545e586ae31
|
||||
with:
|
||||
app-name: ${{ steps.retrieve-secrets.outputs.appservices-api-webapp-name }}
|
||||
slot-name: "staging"
|
||||
@@ -201,7 +201,7 @@ jobs:
|
||||
- update-db
|
||||
steps:
|
||||
- name: Download aritifacts
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v158ca71f7c614ae705e79f25522ef4658df18253
|
||||
with:
|
||||
name: Billing.zip
|
||||
|
||||
@@ -219,7 +219,7 @@ jobs:
|
||||
appservices-billing-webapp-publish-profile"
|
||||
|
||||
- name: Deploy Billing
|
||||
uses: azure/webapps-deploy@v2
|
||||
uses: azure/webapps-deploy@798e43877120eda6a2a690a4f212c545e586ae31
|
||||
with:
|
||||
app-name: ${{ steps.retrieve-secrets.outputs.appservices-billing-webapp-name }}
|
||||
slot-name: "staging"
|
||||
@@ -234,7 +234,7 @@ jobs:
|
||||
- update-db
|
||||
steps:
|
||||
- name: Download aritifacts
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v158ca71f7c614ae705e79f25522ef4658df18253
|
||||
with:
|
||||
name: Events.zip
|
||||
|
||||
@@ -252,7 +252,7 @@ jobs:
|
||||
appservices-events-webapp-publish-profile"
|
||||
|
||||
- name: Deploy Events
|
||||
uses: azure/webapps-deploy@v2
|
||||
uses: azure/webapps-deploy@798e43877120eda6a2a690a4f212c545e586ae31
|
||||
with:
|
||||
app-name: ${{ steps.retrieve-secrets.outputs.appservices-events-webapp-name }}
|
||||
slot-name: "staging"
|
||||
@@ -267,7 +267,7 @@ jobs:
|
||||
- update-db
|
||||
steps:
|
||||
- name: Download aritifacts
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v158ca71f7c614ae705e79f25522ef4658df18253
|
||||
with:
|
||||
name: Sso.zip
|
||||
|
||||
@@ -285,7 +285,7 @@ jobs:
|
||||
appservices-sso-webapp-publish-profile"
|
||||
|
||||
- name: Deploy SSO
|
||||
uses: azure/webapps-deploy@v2
|
||||
uses: azure/webapps-deploy@798e43877120eda6a2a690a4f212c545e586ae31
|
||||
with:
|
||||
app-name: ${{ steps.retrieve-secrets.outputs.appservices-sso-webapp-name }}
|
||||
slot-name: "staging"
|
||||
@@ -300,7 +300,7 @@ jobs:
|
||||
- update-db
|
||||
steps:
|
||||
- name: Download aritifacts
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v158ca71f7c614ae705e79f25522ef4658df18253
|
||||
with:
|
||||
name: Portal.zip
|
||||
|
||||
@@ -318,7 +318,7 @@ jobs:
|
||||
appservices-portal-webapp-publish-profile"
|
||||
|
||||
- name: Deploy Portal
|
||||
uses: azure/webapps-deploy@v2
|
||||
uses: azure/webapps-deploy@798e43877120eda6a2a690a4f212c545e586ae31
|
||||
with:
|
||||
app-name: ${{ steps.retrieve-secrets.outputs.appservices-portal-webapp-name }}
|
||||
slot-name: "staging"
|
||||
@@ -333,7 +333,7 @@ jobs:
|
||||
- update-db
|
||||
steps:
|
||||
- name: Download aritifacts
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v158ca71f7c614ae705e79f25522ef4658df18253
|
||||
with:
|
||||
name: Admin.zip
|
||||
|
||||
@@ -351,7 +351,7 @@ jobs:
|
||||
appservices-admin-webapp-publish-profile"
|
||||
|
||||
- name: Deploy Admin
|
||||
uses: azure/webapps-deploy@v2
|
||||
uses: azure/webapps-deploy@798e43877120eda6a2a690a4f212c545e586ae31
|
||||
with:
|
||||
app-name: ${{ steps.retrieve-secrets.outputs.appservices-admin-webapp-name }}
|
||||
slot-name: "staging"
|
||||
|
||||
Reference in New Issue
Block a user