Skip to content

Commit f487b14

Browse files
committed
Using GH actions [skip ci]
1 parent fb943fb commit f487b14

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/deploy.yml

+12-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Publish Selenium Site
33
on:
44
push:
55
branches:
6-
- master
6+
- dev
77

88
jobs:
99
deploy:
@@ -17,7 +17,16 @@ jobs:
1717
uses: peaceiris/actions-hugo@v2
1818
with:
1919
hugo-version: '0.66.0'
20-
- name: Deploy
21-
run: chmod +x deploy.sh && ./deploy.sh
20+
- name: Build
21+
run: chmod +x build-site.sh && ./build-site.sh
2222
env:
2323
SELENIUM_CI_TOKEN: ${{secrets.SELENIUM_CI_TOKEN}}
24+
- name: Deploy
25+
uses: peaceiris/actions-gh-pages@v3
26+
with:
27+
personal_token: ${{ secrets.SELENIUM_CI_TOKEN }}
28+
publish_dir: ./site_source_files/public
29+
publish_branch: master
30+
user_name: 'Selenium CI Bots'
31+
user_email: '[email protected]'
32+
commit_message: ${{ github.event.head_commit.message }}

0 commit comments

Comments
 (0)