Skip to content

Commit e9b94a2

Browse files
committed
refactor replace original publish-to-gh-pages workflow
Signed-off-by: Ricardo Silva <[email protected]>
1 parent 7adf418 commit e9b94a2

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/publish-to-gh-pages.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: publish-to-github-pages
2+
23
on:
34
push:
45
branches:
@@ -7,19 +8,9 @@ on:
78
branches:
89
- master
910
- develop
10-
jobs:
11-
run-unit-tests:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v2
15-
- uses: actions/setup-node@v2
16-
with:
17-
node-version: "20"
18-
- run: yarn install
19-
- run: yarn test
2011

12+
jobs:
2113
publish-to-gh-pages:
22-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
2314
runs-on: ubuntu-latest
2415
steps:
2516
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)