Skip to content

Commit

Permalink
update workflow to sync readme files
Browse files Browse the repository at this point in the history
  • Loading branch information
adi-shankara authored and rustyrussell committed Jul 16, 2023
1 parent e5547ac commit 9f8889e
Showing 1 changed file with 27 additions and 7 deletions.
34 changes: 27 additions & 7 deletions .github/workflows/rdme-docs-sync.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# This GitHub Actions workflow was auto-generated by the `rdme` cli on 2023-04-22T13:16:28.430Z
# You can view our full documentation here: https://docs.readme.com/docs/rdme
name: ReadMe GitHub Action 🦉

on:
push:
# This workflow will run every time you push code to the following branch: `master` and includes a change to any files inside doc/
# Check out GitHub's docs for more info on configuring this:
# https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
branches:
# This workflow will run every time you push code to the following branch: `master`
# Check out GitHub's docs for more info on configuring this:
# https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
- master
paths:
- 'doc/'

jobs:
rdme-docs:
Expand All @@ -17,7 +17,27 @@ jobs:
- name: Check out repo 📚
uses: actions/checkout@v3

- name: Run `docs` command 🚀
- name: Sync doc/getting-started/ 🚀
uses: readmeio/rdme@v8
with:
rdme: docs guides/ --key=${{ secrets.README_API_KEY }} --version=23.02
rdme: docs doc/getting-started --key=${{ secrets.README_API_KEY }} --version=1

- name: Sync doc/beginners-guide/ 🚀
uses: readmeio/rdme@v8
with:
rdme: docs doc/beginners-guide --key=${{ secrets.README_API_KEY }} --version=1

- name: Sync doc/node-operators-guide/ 🚀
uses: readmeio/rdme@v8
with:
rdme: docs doc/node-operators-guide --key=${{ secrets.README_API_KEY }} --version=1

- name: Sync doc/developers-guide/ 🚀
uses: readmeio/rdme@v8
with:
rdme: docs doc/developers-guide --key=${{ secrets.README_API_KEY }} --version=1

- name: Sync doc/contributing-to-core-lightning/ 🚀
uses: readmeio/rdme@v8
with:
rdme: docs doc/contributing-to-core-lightning --key=${{ secrets.README_API_KEY }} --version=1

0 comments on commit 9f8889e

Please sign in to comment.