Remove publish docs CI workflow (#24889)
Now that the redirect to docs.gitea.com is in place this is no longer needed.
This commit is contained in:
parent
0e84bd2514
commit
21add7ea88
1 changed files with 0 additions and 29 deletions
29
.github/workflows/publish-docs.yml
vendored
29
.github/workflows/publish-docs.yml
vendored
|
@ -1,29 +0,0 @@
|
||||||
name: publish-docs
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
paths:
|
|
||||||
- "docs/**"
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
compliance-docs:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: actions/setup-go@v4
|
|
||||||
with:
|
|
||||||
go-version: ">=1.20.1"
|
|
||||||
- name: build docs
|
|
||||||
run: |
|
|
||||||
cd docs
|
|
||||||
make trans-copy clean build
|
|
||||||
- name: publish to netlify
|
|
||||||
uses: nwtgck/actions-netlify@v2.0
|
|
||||||
with:
|
|
||||||
production-branch: main
|
|
||||||
publish-dir: docs/public/
|
|
||||||
env:
|
|
||||||
NETLIFY_SITE_ID: d2260bae-7861-4c02-8646-8f6440b12672
|
|
||||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
|
Loading…
Reference in a new issue