We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5d8241 commit cd9fa0dCopy full SHA for cd9fa0d
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,31 @@
1
+name: CI
2
+on: [push, pull_request]
3
+
4
+jobs:
5
+ test:
6
+ name: Test URLs
7
+ runs-on: ubuntu-18.04
8
9
+ steps:
10
+ - name: Setup Go
11
+ uses: actions/setup-go@v1
12
+ with:
13
+ go-version: 1.13.x
14
15
+ - name: Setup Hugo
16
+ run: make hugo
17
18
+ - name: Checkout
19
+ uses: actions/checkout@v1
20
21
+ - name: Test URLs on production
22
+ run: go run scripts/test-urls.go https://fromcodetoprod.com/
23
24
+ - name: Serve local version
25
+ run: make serve
26
27
+ - name: Wait
28
+ run: sleep 1
29
30
+ - name: Test local URLs
31
+ run: go run scripts/test-urls.go http://localhost:1313/
0 commit comments