From 3b0e25b54df8fcd0abcf2aa8af8870942b2072ea Mon Sep 17 00:00:00 2001 From: Oliver Date: Sat, 15 Mar 2025 15:38:35 +0100 Subject: [PATCH] ci: add deploy-docs.yml --- .github/workflows/deploy-docs.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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 00000000..6e3ce681 --- /dev/null +++ b/.github/workflows/deploy-docs.yml @@ -0,0 +1,24 @@ +name: Deploy documentation + +on: + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Login to Docker Hub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + + - name: Build Docker Image + run: docker build -t oliverschlueter/fancyinnovations-docs:latest docs/ + + - name: Publish Docker Image + run: docker push oliverschlueter/fancyinnovations-docs:latest