Skip to content

Commit a56c6d8

Browse files
tiborpilzTibor Pilz
authored and
Tibor Pilz
committed
ci: alternative pages action
1 parent 6a0e0f6 commit a56c6d8

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/test.yml

+29
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
name: CI
22
on: pull_request
33

4+
permissions:
5+
actions: write
6+
checks: write
7+
contents: write
8+
deployments: write
9+
id-token: write
10+
issues: write
11+
metadata: read
12+
packages: write
13+
pages: write
14+
pul: write
15+
repositor: write
16+
securit: write
17+
statuses: write
18+
19+
420
jobs:
521
ci:
622
strategy:
@@ -39,6 +55,19 @@ jobs:
3955
DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }}
4056
BADGE_PATH: test-coverage.svg
4157

58+
- name: Setup Pages
59+
uses: actions/configure-pages@v2
60+
61+
- name: Upload artifact
62+
uses: actions/upload-pages-artifact@v1
63+
with:
64+
# Upload entire repository
65+
path: 'htmlcov'
66+
67+
- name: Deploy to GitHub Pages
68+
id: deployment
69+
uses: actions/deploy-pages@v1
70+
4271
- name: Deploy Coverage Report to Pages
4372
if: success()
4473
uses: crazy-max/ghaction-github-pages@v2

0 commit comments

Comments
 (0)