Skip to content

Commit

Permalink
cat app.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed May 24, 2024
1 parent 6db8a7a commit 5f450f9
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/deploy-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,6 @@ jobs:
- name: 🛫 Checkout
uses: actions/checkout@v4

- name: echo
run: |
echo $(
# Set name with convention "{ENV_NAME}-{REPO_NAME}"
export name=${{ github.repository }}
name=${name#"ocadotechnology/codeforlife-"}
name="${{ github.ref_name }}-${name}"
echo '
.service = "${name}"
' | envsubst
)
# https://mikefarah.gitbook.io/yq/
- name: 🖊️ Configure App Deployment
uses: mikefarah/yq@master
Expand All @@ -45,6 +32,9 @@ jobs:
' | envsubst
) app.yaml
- name: cat app yaml
run: cat app.yaml

- name: 🚀 Deploy App on GCloud
uses: ocadotechnology/codeforlife-workspace/.github/actions/gcloud/deploy-app@configure_js_services # TODO: set to @main
with:
Expand Down

0 comments on commit 5f450f9

Please sign in to comment.