mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-04-22 06:09:04 +00:00
Update bobheadxi/deployments action to v1 (#1884)
* Update bobheadxi/deployments action to v1 Signed-off-by: Renovate Bot <bot@renovateapp.com> * Migrate deploy action Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
c95346330d
commit
b2fc852e09
2 changed files with 8 additions and 8 deletions
8
.github/workflows/deploy-main.yml
vendored
8
.github/workflows/deploy-main.yml
vendored
|
@ -44,13 +44,13 @@ jobs:
|
|||
run: rm -r .next/cache
|
||||
|
||||
- name: Mark GitHub deployment as started
|
||||
uses: bobheadxi/deployments@v0.6.2
|
||||
uses: bobheadxi/deployments@v1.0.1
|
||||
id: github-deployment
|
||||
with:
|
||||
step: start
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
env: "Latest main"
|
||||
no_override: false
|
||||
override: true
|
||||
ref: ${{ github.ref }}
|
||||
|
||||
- name: Run netlify CLI deployment
|
||||
|
@ -61,7 +61,7 @@ jobs:
|
|||
|
||||
- name: Mark GitHub deployment as finished
|
||||
if: always()
|
||||
uses: bobheadxi/deployments@v0.6.2
|
||||
uses: bobheadxi/deployments@v1.0.1
|
||||
with:
|
||||
step: finish
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
@ -69,4 +69,4 @@ jobs:
|
|||
logs: ${{ steps.netlify-result.outputs.logs }}
|
||||
status: ${{ job.status }}
|
||||
deployment_id: ${{ steps.github-deployment.outputs.deployment_id }}
|
||||
no_override: false
|
||||
override: true
|
||||
|
|
8
.github/workflows/deploy-pr.yml
vendored
8
.github/workflows/deploy-pr.yml
vendored
|
@ -44,13 +44,13 @@ jobs:
|
|||
run: rm -r .next/cache
|
||||
|
||||
- name: Mark GitHub deployment as started
|
||||
uses: bobheadxi/deployments@v0.6.2
|
||||
uses: bobheadxi/deployments@v1.0.1
|
||||
id: github-deployment
|
||||
with:
|
||||
step: start
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
env: "PR #${{ github.event.number }}"
|
||||
no_override: false
|
||||
override: true
|
||||
ref: ${{ github.head_ref }}
|
||||
|
||||
- name: Run netlify CLI deployment
|
||||
|
@ -61,7 +61,7 @@ jobs:
|
|||
|
||||
- name: Mark GitHub deployment as finished
|
||||
if: always()
|
||||
uses: bobheadxi/deployments@v0.6.2
|
||||
uses: bobheadxi/deployments@v1.0.1
|
||||
with:
|
||||
step: finish
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
@ -69,4 +69,4 @@ jobs:
|
|||
logs: ${{ steps.netlify-result.outputs.logs }}
|
||||
status: ${{ job.status }}
|
||||
deployment_id: ${{ steps.github-deployment.outputs.deployment_id }}
|
||||
no_override: false
|
||||
override: true
|
||||
|
|
Loading…
Add table
Reference in a new issue