Skip to content

Commit d8ab954

Browse files
committed
add deploy testing site
Signed-off-by: Andre Bossert <anb0s@anbos.de>
1 parent f1f8cf8 commit d8ab954

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/pull_request-or-main.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,16 @@ jobs:
3535
with:
3636
name: EasyShell-update-site-PR${{ github.event.pull_request.number }}
3737
path: site/target/repository
38+
39+
deploy-testing:
40+
runs-on: ubuntu-latest
41+
needs: [platform]
42+
steps:
43+
- uses: actions/checkout@v2
44+
- name: Deploy for Testing
45+
if: github.event_name == 'pull_request' && contains(github.head_ref, 'testing')
46+
uses: JamesIves/github-pages-deploy-action@v4
47+
with:
48+
branch: gh-pages
49+
folder: site/updates
50+
clean: false

0 commit comments

Comments
 (0)