Skip to content

Commit

Permalink
Add server, wget, and commit to pages.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mAdkins committed Feb 15, 2024
1 parent fe5276c commit d190b8f
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,17 @@ jobs:
- name: Benchmark Go logging libraries
run: go test -bench=. bench/*.go > ${{ runner.temp }}/bench.txt

- name: Run Server / Get Pages
run: go run cmd/server/server.go -from=${{ runner.temp }}/bench.txt & scripts/pages

# - name: Benchmark Go logging libraries
# run: go run cmd/server/server.go -from=/tmp/bench.txt
#
# - name: Get Pages from server
# run: wget -r localhost:8080/go-slog -nH --cut-dirs=1 -P docs
#
# - name: Commit benchmark results to repo
# uses: EndBug/add-and-commit@v9
# with:
# message: Update benchmark results
# commit: '--no-verify'

- name: Commit benchmark results to repo
uses: EndBug/add-and-commit@v9
with:
message: Update benchmark results
commit: '--no-verify'

0 comments on commit d190b8f

Please sign in to comment.