File tree 2 files changed +39
-25
lines changed
2 files changed +39
-25
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 62
62
run : |
63
63
HYPOTHESIS_PROFILE=ci make test
64
64
65
+ docs :
66
+ runs-on : ubuntu-latest
67
+ needs : [cache]
68
+
69
+ steps :
70
+ - name : Checkout code
71
+ uses : actions/checkout@v4
72
+
73
+ - name : Set up Docker Buildx
74
+ uses : docker/setup-buildx-action@v3
75
+ with :
76
+ buildkitd-flags : --debug
77
+
78
+ - name : Build container
79
+ uses : docker/build-push-action@v5
80
+ with :
81
+ context : compose
82
+ push : false
83
+ load : true
84
+ tags : ghcr.io/adfinis/pyaptly/cache:latest
85
+ cache-from : type=registry,ref=ghcr.io/adfinis/pyaptly/cache:gha
86
+
87
+ - name : Run tests
88
+ run : |
89
+ make docs
90
+
91
+ - name : Upload artifacts
92
+ uses : actions/upload-artifact@v3
93
+ with :
94
+ name : html-docs
95
+ path : docs/_build/html/
96
+
97
+ - name : Deploy
98
+ uses : peaceiris/actions-gh-pages@v4
99
+ if : github.ref == 'refs/heads/main'
100
+ with :
101
+ github_token : ${{ secrets.GITHUB_TOKEN }}
102
+ publish_dir : docs/_build/html
103
+
65
104
package :
66
105
runs-on : ubuntu-latest
67
106
needs : [test]
You can’t perform that action at this time.
0 commit comments