Skip to content

Commit

Permalink
Latest push:
Browse files Browse the repository at this point in the history
  • Loading branch information
carnellj-genesys committed Sep 24, 2024
1 parent 2e086c0 commit 274161c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 20 deletions.
18 changes: 9 additions & 9 deletions .github/actions/genesys-cloud-dev-tools/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ runs:
- run: |
pip install PureCloudPlatformClientV2
mkdir output
mkdir archy
cd archy
wget -q https://sdk-cdn.mypurecloud.com/archy/latest/archy-linux.zip
unzip archy-linux.zip
. archy version
export PATH=$PATH:$GITHUB_WORKSPACE/archy
cd ..
pwd
archy version
# mkdir archy
# cd archy
# wget -q https://sdk-cdn.mypurecloud.com/archy/latest/archy-linux.zip
# unzip archy-linux.zip
# . archy version
# export PATH=$PATH:$GITHUB_WORKSPACE/archy
# cd ..
# pwd
# archy version
shell: bash
10 changes: 1 addition & 9 deletions .github/workflows/deploy-flow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
name: Genesys Cloud Email Non-Prod Deploy
on:
push:
branches: [main]
branches: [NO-JIRA-USE-ARCHITECT-FLOW-RESOURCE]
workflow_dispatch:
jobs:
###
Expand Down Expand Up @@ -51,10 +51,6 @@ jobs:
with:
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
- uses: ./.github/actions/genesys-cloud-apply-terraform
- uses: ./.github/actions/genesys-cloud-publish-archy-flow
with:
architect-flow-path: $GITHUB_WORKSPACE/blueprint/genesys-cloud-architect-flows/EmailComprehendFlow.yaml
architect-results-path: $GITHUB_WORKSPACE/output/results.json
- uses: ./.github/actions/genesys-cloud-create-email-domain-route

###
Expand Down Expand Up @@ -108,8 +104,4 @@ jobs:
with:
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
- uses: ./.github/actions/genesys-cloud-apply-terraform
- uses: ./.github/actions/genesys-cloud-publish-archy-flow
with:
architect-flow-path: $GITHUB_WORKSPACE/blueprint/genesys-cloud-architect-flows/EmailComprehendFlow.yaml
architect-results-path: $GITHUB_WORKSPACE/output/results.json
- uses: ./.github/actions/genesys-cloud-create-email-domain-route
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ terraform {
}

resource "genesyscloud_flow" "classifier_flow" {
filepath = "../../../genesyscloud-architect-flows/EmailComprehendFlow.yaml"
file_content_hash = filesha256("./../../genesyscloud-architect-flows/EmailComprehendFlow.yaml")
filepath = "EmailComprehendFlow.yaml"
file_content_hash = filesha256("EmailComprehendFlow.yaml")

}

0 comments on commit 274161c

Please sign in to comment.