mirror of
https://github.com/passbolt/go-passbolt-cli.git
synced 2025-05-12 10:58:21 +00:00
33 lines
585 B
YAML
33 lines
585 B
YAML
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 -o passbolt
|
|
|
|
- name: Update Wiki
|
|
run: |
|
|
mkdir doc
|
|
ls
|
|
./passbolt 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 }}
|