Skip to content

Commit

Permalink
yamlfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Berchtold authored and Frostman committed Feb 8, 2024
1 parent 6946f24 commit e1d87c3
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Build docs
on:
push:
branches:
- master
- release/*
- master
- release/*
pull_request:
workflow_dispatch:
inputs:
Expand All @@ -24,8 +24,8 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
persist-credentials: false
fetch-depth: 0

- name: Build docs
run: make build
Expand All @@ -50,10 +50,10 @@ jobs:
# TODO support publishing non-dev versions
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
env:
PUSH_TOKEN: ${{ secrets.GH_DEPLOY_PUSH_TOKEN }}
PUSH_TOKEN: ${{ secrets.GH_DEPLOY_PUSH_TOKEN }}
run: |
make deploy RELEASE=dev ALIAS=master
git push https://[email protected]/${{ github.repository }} publish
make deploy RELEASE=dev ALIAS=master
git push https://[email protected]/${{ github.repository }} publish
- name: Setup tmate session for debug
if: ${{ failure() && github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Publish docs
on:
push:
branches:
- publish
- publish
workflow_dispatch:
inputs:
debug_enabled:
Expand Down Expand Up @@ -42,4 +42,4 @@ jobs:
uses: mxschmitt/action-tmate@v3
timeout-minutes: 45
with:
limit-access-to-actor: true
limit-access-to-actor: true
7 changes: 6 additions & 1 deletion .yamlfmt
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
retain_line_breaks: True
formatter:
type: basic
drop_merge_tag: true
pad_line_comments: 2 # Align with yamllint
scan_folded_as_literal: true
retain_line_breaks: true
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ plugins:
order_by: title
- git-revision-date-localized:
enable_creation_date: true
# - htmlproofer # https://github.com/manuzhang/mkdocs-htmlproofer-plugin
# - htmlproofer # https://github.com/manuzhang/mkdocs-htmlproofer-plugin

markdown_extensions:
- abbr
Expand Down

0 comments on commit e1d87c3

Please sign in to comment.