diff --git a/.gitea/workflows/yamllint.yml b/.gitea/workflows/yamllint.yml index bb1cf3a..25247cc 100644 --- a/.gitea/workflows/yamllint.yml +++ b/.gitea/workflows/yamllint.yml @@ -23,34 +23,7 @@ jobs: - name: Run linters run: | yamllint . - - build: - runs-on: docker - container: - image: node:20-bullseye - needs: lint - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Install Docker CLI - run: | - apt-get update && apt-get install -y docker.io bash git - dockerd & sleep 5 - - - name: Login to Gitea Registry - run: | - echo "${{ secrets.REGISTRY_PASSWORD }}" | \ - docker login dns.s-martika.com \ - -u "${{ secrets.REGISTRY_USER }}" \ - --password-stdin - - - name: Build Docker image - run: docker build -t dns.s-martika.com/smartika/snake:latest frontend/ - - - name: Push Docker image - run: docker push dns.s-martika.com/smartika/snake:latest - + deploy: runs-on: docker container: @@ -67,4 +40,4 @@ jobs: pip3 install ansible - name: Run Ansible deployment - run: ansible-playbook -i ansible/inventory.yaml site.yaml + run: ansible-playbook -i ../../inventory.yaml ../../site.yaml