Merge pull request #326 from NIAEFEUP/fix/class-conflict #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: | |
name: ${{ github.ref_name }} | |
steps: | |
- name: Upload to NIployments register | |
uses: NIAEFEUP/[email protected] | |
with: | |
docker_dockerfile: Dockerfile | |
docker_context: . | |
docker_target: prod | |
docker_build_args: | | |
TTS_FE_VARS_METHOD=content-var | |
TTS_FE_VARS_CONTENT=${{ secrets.TTS_FE_VARS_CONTENT }} | |
NIPLOYMENTS_REGISTRY_URL: ${{ vars.NIPLOYMENTS_REGISTRY_URL }} | |
NIPLOYMENTS_REGISTRY_USERNAME: ${{ vars.NIPLOYMENTS_REGISTRY_USERNAME }} | |
NIPLOYMENTS_REGISTRY_PASSWORD: ${{ secrets.NIPLOYMENTS_REGISTRY_PASSWORD }} |