Skip to content

Commit

Permalink
push deployed doc as well..
Browse files Browse the repository at this point in the history
  • Loading branch information
swissiety committed Nov 2, 2023
1 parent 7296b9a commit d6279ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# mike set-default latest --push

name: Documentation

on:
push:
branches:
Expand Down Expand Up @@ -70,7 +71,7 @@ jobs:
# on PR events..
- name: deploy doc in subdirectory
if: github.event_name == 'pull_request'
run: mike deploy ${{ github.head_ref }}_preview
run: mike deploy ${{ github.head_ref }}_preview --push
# TODO: set to true when the release is capable of the documentation ;) && mike props ${{ github.head_ref }}_preview --set-string hidden=true --push

- name: comment link to preview
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Create Release Draft

on:
push:
tags:
# Push events to matching
- ^v(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)$

name: Create Release Draft

jobs:
build:
name: Create Release Draft
Expand Down

0 comments on commit d6279ab

Please sign in to comment.