mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-23 23:00:48 +00:00
Removes the github deployment api from the main branch deployment
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
248ba42e13
commit
8a12755164
1 changed files with 0 additions and 24 deletions
24
.github/workflows/deploy-main.yml
vendored
24
.github/workflows/deploy-main.yml
vendored
|
@ -43,31 +43,7 @@ jobs:
|
|||
- name: Remove Next.js cache to avoid it being deployed
|
||||
run: rm -r .next/cache
|
||||
|
||||
- name: Mark GitHub deployment as started
|
||||
uses: bobheadxi/deployments@v1.1.0
|
||||
id: github-deployment
|
||||
with:
|
||||
step: start
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
env: "Latest main"
|
||||
override: true
|
||||
ref: ${{ github.ref }}
|
||||
|
||||
- name: Run netlify CLI deployment
|
||||
env:
|
||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||
run: bash netlify/deploy-main.sh "${{ github.event.head_commit.id }}" "${{ github.event.head_commit.message }}"
|
||||
id: netlify-result
|
||||
|
||||
- name: Mark GitHub deployment as finished
|
||||
if: always()
|
||||
uses: bobheadxi/deployments@v1.1.0
|
||||
with:
|
||||
step: finish
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
env_url: ${{ steps.netlify-result.outputs.url }}
|
||||
env: ${{ steps.github-deployment.outputs.env }}
|
||||
logs: ${{ steps.netlify-result.outputs.logs }}
|
||||
status: ${{ job.status }}
|
||||
deployment_id: ${{ steps.github-deployment.outputs.deployment_id }}
|
||||
override: true
|
||||
|
|
Loading…
Reference in a new issue