Skip to content

[AUTOPR] Automatic updates (#59) #86

[AUTOPR] Automatic updates (#59)

[AUTOPR] Automatic updates (#59) #86

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@v4
with: { ref: main }
- name: setup go build environment
uses: actions/setup-go@v5
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