Skip to content

Update test.yml

Update test.yml #9

Workflow file for this run

name: Update MD Files
on:
push:
branches:
- main
- docs-test
jobs:
update-md-files:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
token: ${{ secrets.PAT_TOKEN }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y parallel jq
curl -sL https://get.bacalhau.org/install.sh | bash
- name: Run script to test docs
run: bash test/docs_test.sh
- name: Commit and push changes
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
run: |
git config --global user.name 'bacalhau-infra-bot'
git config --global user.email '[email protected]'
git add .
git commit -m 'Run Documentation tests'
git push