ci: add deploy-docs.yml

This commit is contained in:
Oliver
2025-03-15 15:38:35 +01:00
parent 80fb8c29ec
commit 3b0e25b54d

24
.github/workflows/deploy-docs.yml vendored Normal file
View File

@@ -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