CI-Test/.gitea/workflows/test.yml
Nils Stinnesbeck d91ff722a7
Some checks failed
Build and push image / deploy (push) Failing after 8s
added more stuff
2023-05-18 18:13:43 +02:00

22 lines
490 B
YAML

name: Build and push image
on:
push:
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: /repo
steps:
- name: Set git remote if not already set
run: git remote -v | grep -w gitea || git remote add gitea "./gitea/git/repositories/${GITHUB_REPOSITORY,,}.git"
- name: Checkout repo
run: git pull gitea main
- name: Deploy
run: |
docker build -t rynomarree/self-hosted-deployment:latest .