diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..2d39d70 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,16 @@ +name: Deploy + +on: + push: + branches: + - production + +jobs: + deploy: + runs-on: docker + + steps: + - uses: actions/checkout@v4 + - run: docker build -t kleinholz-site . + - run: docker rm -f kleinholz-site || true + - run: docker run -d --name kleinholz-site -p 3000:3000 kleinholz-site:latest \ No newline at end of file