Skip to content

Commit 7b48cbd

Browse files
authored
Add GA
1 parent 7694192 commit 7b48cbd

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/test.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Test Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- docs-test
8+
jobs:
9+
update-md-files:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v2
15+
16+
- name: List files for debugging
17+
run: |
18+
ls -R
19+
pwd
20+
21+
- name: Install dependencies
22+
run: |
23+
sudo apt-get update
24+
sudo apt-get install -y parallel jq
25+
curl -sL https://get.bacalhau.org/install.sh | bash
26+
27+
- name: Run script to test docs
28+
run: bash test/docs_test.sh
29+
30+
- name: Commit and push changes
31+
run: |
32+
git config --global user.name 'github-actions[bot]'
33+
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
34+
git add .
35+
git commit -m 'Update markdown files'
36+
git push
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)