From 444c7772fb764cec5737bb0e0d2f7d7e781a33cc Mon Sep 17 00:00:00 2001 From: LeoLox <58687994+leo-lox@users.noreply.github.com> Date: Mon, 20 Jan 2025 18:36:25 +0100 Subject: [PATCH] deploy script --- .github/workflows/deploy-docs.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/deploy-docs.yml diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml new file mode 100644 index 000000000..34b8caeac --- /dev/null +++ b/.github/workflows/deploy-docs.yml @@ -0,0 +1,27 @@ +name: deploy docs to GitHub Pages +on: + workflow_dispatch: + push: + branches: + - main + #release: + # types: [ published ] + +jobs: + publish: + name: Publish to gh-pages branch + + runs-on: ubuntu-latest + + permissions: + contents: write + + steps: + - uses: actions/checkout@v2 + + - uses: retypeapp/action-build@latest + + - uses: retypeapp/action-github-pages@latest + with: + update-branch: true + branch: gh-pages \ No newline at end of file