File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 55#
66# This is a workflow for atomvm/atomvm_www to Publish atomvm.net documentation using GitHub Pages
77
8- name : Build
8+ name : Build Test
99
1010# Controls when the workflow will run
1111on :
1212 # Triggers the workflow on push or pull request events but only for the master branch
1313 push :
1414 branches : [ "*" ]
1515
16+ pull_request :
17+ branches : [ "*" ]
18+
1619 # Allows you to run this workflow manually from the Actions tab
1720 workflow_dispatch :
1821
7174 git config --local user.email "[email protected] " 7275 git config --local user.name "AtomVM Doc Bot"
7376 git add .
74- git commit -m "Update Documentation"
77+ git commit -m "Update Website Frontend: ${{ github.event.head_commit.message }}"
78+ git log -1
Original file line number Diff line number Diff line change @@ -64,15 +64,16 @@ jobs:
6464 touch www/.nojekyll
6565
6666 - name : Commit files
67- if : github.repository == 'atomvm/atomvm_www'
6867 working-directory : ./www
6968 run : |
7069 git checkout Production
7170 git branch --show-current
7271 git config --local user.email "[email protected] " 7372 git config --local user.name "AtomVM Doc Bot"
7473 git add .
75- git commit -m "Update Documentation"
74+ git commit -m "Update Website Frontend\n${{ github.event.workflow_run.head_commit.message }}"
75+ git log -1
76+
7677 - name : Push changes
7778 if : github.repository == 'atomvm/atomvm_www'
7879 working-directory : ./www
You can’t perform that action at this time.
0 commit comments