Skip to content

Commit

Permalink
Add GA
Browse files Browse the repository at this point in the history
  • Loading branch information
js-ts authored May 16, 2024
1 parent 7694192 commit 7b48cbd
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Test Docs

on:
push:
branches:
- main
- docs-test
jobs:
update-md-files:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: List files for debugging
run: |
ls -R
pwd
- 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
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add .
git commit -m 'Update markdown files'
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7b48cbd

Please sign in to comment.