Read entire file rather than a single line #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update ReadMe Documentation 🦉 | |
on: | |
push: | |
branches: | |
- docs | |
jobs: | |
update-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: npm install | |
- name: Read getting-started.md Content | |
run: | | |
cat docs/getting-started.md | base64 > /tmp/getting-started-content.txt | |
- name: Update ReadMe Documentation | |
env: | |
README_API_KEY: ${{ secrets.README_API_KEY }} | |
run: | | |
npx ts-node scripts/getting-started.ts /tmp/getting-started-content.txt |