mirror of
https://github.com/passbolt/go-passbolt-cli.git
synced 2025-05-12 02:58:20 +00:00
Create .docs.yml
This commit is contained in:
parent
7f29cb4464
commit
ee71120fea
1 changed files with 32 additions and 0 deletions
32
.github/workflows/.docs.yml
vendored
Normal file
32
.github/workflows/.docs.yml
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
name: Go
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.17
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
||||
- name: Update Wiki
|
||||
run: |
|
||||
mkdir doc
|
||||
./go-passbolt-cli gendoc
|
||||
|
||||
- name: Upload Documentation to Wiki
|
||||
uses: SwiftDocOrg/github-wiki-publish-action@v1
|
||||
with:
|
||||
path: "doc"
|
||||
env:
|
||||
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
|
Loading…
Add table
Reference in a new issue