Skip to content

[AUTOPR] Automatic updates (#22) #51

[AUTOPR] Automatic updates (#22)

[AUTOPR] Automatic updates (#22) #51

Workflow file for this run

name: confluence
on:
push:
branches:
- 'main'
permissions:
contents: read
jobs:
publish:
if: github.repository == 'Vonage/numkey'
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
with: { ref: main }
- name: setup go build environment
uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
check-latest: true
- name: install publishing tool
run: go install github.com/kovetskiy/mark@latest
- name: publish docs
run: |
touch ~/.config/mark || true
mark -u ${{ secrets.CONFLUENCE_USER }} -p ${{ secrets.CONFLUENCE_TOKEN }} -b ${{ secrets.CONFLUENCE_URL }} -f README.md