mirror of https://github.com/vector-im/riot-web
Iterate
parent
449a0e64d9
commit
0cd6e02c99
|
@ -42,12 +42,13 @@ jobs:
|
||||||
retention-days: ${{ github.ref == 'develop' && 1 || 28 }}
|
retention-days: ${{ github.ref == 'develop' && 1 || 28 }}
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
name: "Deploy to develop.element.io"
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# if: github.event_name == 'push' && github.ref == 'develop'
|
# if: github.event_name == 'push' && github.ref == 'develop'
|
||||||
steps:
|
steps:
|
||||||
- name: Create Deployment ID
|
- name: Create Deployment ID
|
||||||
uses: altinukshini/deployment-action@releases/v1.2.6
|
uses: altinukshini/deployment-action@v1.2.6
|
||||||
id: deployment
|
id: deployment
|
||||||
with:
|
with:
|
||||||
token: "${{ github.token }}"
|
token: "${{ github.token }}"
|
||||||
|
@ -84,7 +85,7 @@ jobs:
|
||||||
|
|
||||||
- name: Update deployment status (success)
|
- name: Update deployment status (success)
|
||||||
if: success()
|
if: success()
|
||||||
uses: altinukshini/deployment-status@releases/v1
|
uses: altinukshini/deployment-status@v1.0.1
|
||||||
with:
|
with:
|
||||||
token: "${{ github.token }}"
|
token: "${{ github.token }}"
|
||||||
environment_url: https://develop.element.io
|
environment_url: https://develop.element.io
|
||||||
|
@ -94,7 +95,7 @@ jobs:
|
||||||
pr_id: ${{ github.event.pull_request.number }}
|
pr_id: ${{ github.event.pull_request.number }}
|
||||||
- name: Update deployment status (failure)
|
- name: Update deployment status (failure)
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: altinukshini/deployment-status@releases/v1
|
uses: altinukshini/deployment-status@v1.0.1
|
||||||
with:
|
with:
|
||||||
token: "${{ github.token }}"
|
token: "${{ github.token }}"
|
||||||
state: "failure"
|
state: "failure"
|
||||||
|
|
Loading…
Reference in New Issue