From de05f29d254addb88bd5406c9914104741cfc02e Mon Sep 17 00:00:00 2001 From: Jackeagle Date: Fri, 9 Dec 2022 19:44:42 +0530 Subject: [PATCH] docs: Add Github Workflow for deployment Signed-off-by: Jackeagle --- .github/workflows/docs.yml | 22 ++++++++++++++++++++++ retype.yml | 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 00000000..1430d103 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,22 @@ +name: Publish BlissOS Docs to GitHub Pages +on: + workflow_dispatch: + push: + branches: + - master + +jobs: + publish: + name: Publish to docs branch + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - uses: retypeapp/action-build@latest + + - uses: retypeapp/action-github-pages@latest + with: + branch: docs + update-branch: true \ No newline at end of file diff --git a/retype.yml b/retype.yml index 4174357c..77b156df 100644 --- a/retype.yml +++ b/retype.yml @@ -1,5 +1,5 @@ -input: . -output: .retype +input: ./ +output: .docs url: docs.blissos.org branding: title: BlissOS