fix (export): Removing drive id from interaction model and adding tim… #122
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
--- | |
# This workflow will run unit tests and deploy the application to a | |
# target environment | |
name: Deploy | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "*" | |
paths-ignore: | |
- "**.md" # All markdown files in the repository | |
release: | |
types: [released] | |
jobs: | |
deploy: | |
if: github.repository_owner == 'GSA-TTS' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: GSA-TTS/identity-idva-cf-setup@v2 | |
id: cf-setup | |
with: | |
cf-username: ${{ secrets.CF_USERNAME }} | |
cf-password: ${{ secrets.CF_PASSWORD }} | |
cf-org: ${{ secrets.CF_ORG }} | |
- name: Deploy application | |
run: cf push --vars-file vars.yaml --var ENVIRONMENT=${{ steps.cf-setup.outputs.target-environment }} --strategy rolling | |
- name: Add network policies | |
run: | | |
cf add-network-policy gdrive outbound-proxy -s ${{ steps.cf-setup.outputs.target-environment }}-public --protocol tcp --port 8080 | |
cf add-network-policy gdrive es-proxy -s ${{ steps.cf-setup.outputs.target-environment }} --protocol tcp --port 8080 | |
cf add-network-policy gdrive qualtrix -s ${{ steps.cf-setup.outputs.target-environment }} --protocol tcp --port 8080 |