File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
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 : Install dependencies
17
+ run : |
18
+ sudo apt-get update
19
+ sudo apt-get install -y parallel jq
20
+ curl -sL https://get.bacalhau.org/install.sh | bash
21
+
22
+ - name : Run script to test docs
23
+ run : bash test/test-docs.sh
24
+
25
+ - name : Commit and push changes
26
+ run : |
27
+ git config --global user.name 'github-actions[bot]'
28
+ git config --global user.email 'github-actions[bot]@users.noreply.github.com'
29
+ git add .
30
+ git commit -m 'Update markdown files'
31
+ git push
32
+ env :
33
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments