Skip to content

Merge pull request #97 from NIAEFEUP/chore/prepare-for-niployments #1

Merge pull request #97 from NIAEFEUP/chore/prepare-for-niployments

Merge pull request #97 from NIAEFEUP/chore/prepare-for-niployments #1

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 }}