Skip to content

Commit

Permalink
Fix scripts location (#10)
Browse files Browse the repository at this point in the history
* Rename scripts directory

Signed-off-by: Federico Busetti <[email protected]>

* Fix link

Signed-off-by: Federico Busetti <[email protected]>

* Remove badges

Signed-off-by: Federico Busetti <[email protected]>

* Delete dev ddocumentation before deployment to force update

Signed-off-by: Federico Busetti <[email protected]>

---------

Signed-off-by: Federico Busetti <[email protected]>
  • Loading branch information
febus982 authored May 4, 2024
1 parent 9986b46 commit 2f58cae
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/github-pages-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ jobs:
uses: ./.github/workflows/reusable-github-pages.yml
with:
site-version: "dev"
delete-before-deploy: true
10 changes: 10 additions & 0 deletions .github/workflows/reusable-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on:
required: false
type: boolean
default: false
delete-before-deploy:
required: false
type: boolean
default: false

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
Expand Down Expand Up @@ -60,6 +64,12 @@ jobs:
run: |
git fetch origin gh-pages --depth=1
- name: Delete existing version
if: ${{ inputs.delete-before-deploy }}
continue-on-error: true
run: |
mike delete ${{ inputs.site-version }} --branch ${{ inputs.branch }}
- name: Build and deploy static pages
run: |
mike deploy ${{ inputs.site-version }} ${{ inputs.version-alias }} --update-aliases --push --branch ${{ inputs.branch }}
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
[![stability-beta](https://img.shields.io/badge/stability-beta-33bbff.svg)](https://github.com/mkenney/software-guides/blob/master/STABILITY-BADGES.md#beta)

[![Python tests](https://github.com/febus982/mkdocs-macros-adr-summary/actions/workflows/python-tests.yml/badge.svg?branch=main)](https://github.com/febus982/mkdocs-macros-adr-summary/actions/workflows/python-tests.yml)
[![Bandit checks](https://github.com/febus982/mkdocs-macros-adr-summary/actions/workflows/python-bandit.yml/badge.svg?branch=main)](https://github.com/febus982/mkdocs-macros-adr-summary/actions/workflows/python-bandit.yml)
[![Maintainability](https://api.codeclimate.com/v1/badges/5631f62f6dcd3a34d7ae/maintainability)](https://codeclimate.com/github/febus982/mkdocs-macros-adr-summary/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/5631f62f6dcd3a34d7ae/test_coverage)](https://codeclimate.com/github/febus982/mkdocs-macros-adr-summary/test_coverage)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Use Markdown Any Decision Records

* Status: superseded by [ADR-0002](0002-changed-mind)
* Status: superseded by [ADR-0002](0002-changed-mind.md)
* Deciders: list everyone involved in the decision
* Date: 2024-01-24

Expand Down
1 change: 0 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
[![stability-beta](https://img.shields.io/badge/stability-beta-33bbff.svg)](https://github.com/mkenney/software-guides/blob/master/STABILITY-BADGES.md#beta)

[![Python tests](https://github.com/febus982/mkdocs-macros-adr-summary/actions/workflows/python-tests.yml/badge.svg?branch=main)](https://github.com/febus982/mkdocs-macros-adr-summary/actions/workflows/python-tests.yml)
[![Bandit checks](https://github.com/febus982/mkdocs-macros-adr-summary/actions/workflows/python-bandit.yml/badge.svg?branch=main)](https://github.com/febus982/mkdocs-macros-adr-summary/actions/workflows/python-bandit.yml)
[![Maintainability](https://api.codeclimate.com/v1/badges/5631f62f6dcd3a34d7ae/maintainability)](https://codeclimate.com/github/febus982/mkdocs-macros-adr-summary/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/5631f62f6dcd3a34d7ae/test_coverage)](https://codeclimate.com/github/febus982/mkdocs-macros-adr-summary/test_coverage)

Expand Down
File renamed without changes.

0 comments on commit 2f58cae

Please sign in to comment.