mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43:36 +00:00
ci: add deploy-docs.yml
This commit is contained in:
24
.github/workflows/deploy-docs.yml
vendored
Normal file
24
.github/workflows/deploy-docs.yml
vendored
Normal 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
|
||||||
Reference in New Issue
Block a user