t3chguy/ci3
Michael Telatynski 2022-04-27 12:41:46 +01:00
parent 449a0e64d9
commit 0cd6e02c99
1 changed files with 4 additions and 3 deletions

View File

@ -42,12 +42,13 @@ jobs:
retention-days: ${{ github.ref == 'develop' && 1 || 28 }}
deploy:
name: "Deploy to develop.element.io"
needs: build
runs-on: ubuntu-latest
# if: github.event_name == 'push' && github.ref == 'develop'
steps:
- name: Create Deployment ID
uses: altinukshini/deployment-action@releases/v1.2.6
uses: altinukshini/deployment-action@v1.2.6
id: deployment
with:
token: "${{ github.token }}"
@ -84,7 +85,7 @@ jobs:
- name: Update deployment status (success)
if: success()
uses: altinukshini/deployment-status@releases/v1
uses: altinukshini/deployment-status@v1.0.1
with:
token: "${{ github.token }}"
environment_url: https://develop.element.io
@ -94,7 +95,7 @@ jobs:
pr_id: ${{ github.event.pull_request.number }}
- name: Update deployment status (failure)
if: failure()
uses: altinukshini/deployment-status@releases/v1
uses: altinukshini/deployment-status@v1.0.1
with:
token: "${{ github.token }}"
state: "failure"