Skip to content

Merge pull request #104 from NIAEFEUP/fix/production-generates-modelspy #6

Merge pull request #104 from NIAEFEUP/fix/production-generates-modelspy

Merge pull request #104 from NIAEFEUP/fix/production-generates-modelspy #6

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Upload to NIployments registry
uses: NIAEFEUP/[email protected]
with:
docker_dockerfile: Dockerfile
docker_context: ./django
docker_target: prod
NIPLOYMENTS_REGISTRY_URL: ${{ vars.NIPLOYMENTS_REGISTRY_URL }}
NIPLOYMENTS_REGISTRY_USERNAME: ${{ vars.NIPLOYMENTS_REGISTRY_USERNAME }}
NIPLOYMENTS_REGISTRY_PASSWORD: ${{ secrets.NIPLOYMENTS_REGISTRY_PASSWORD }}