Skip to content

test 2

test 2 #2

Workflow file for this run

name: Test
on:
push:
branches:
- main
- staging
env:
APP_NAME: test
CLUSTER_NAME: ${{ github.ref == 'refs/heads/main' && 'test-prod' || 'test-staging' }}
ECR_REGISTRY: ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ github.ref == 'refs/heads/main' && vars.PROD_AWS_REGION || vars.STAGING_AWS_REGION }}.amazonaws.com
ENV: test
HELM_VALUES: deploy/values.yml
DOMAIN_NAME: test.com
jobs:
setup:
name: Setup workflow
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Output all variables
id: test
shell: bash
run: |
echo "APP_NAME: ${{ env.APP_NAME }}"
echo "CLUSTER_NAME: ${{ env.CLUSTER_NAME }}"
echo "ECR_REGISTRY: ${{ env.ECR_REGISTRY }}"
echo "ENV: ${{ env.ENV }}"
echo "HELM_VALUES: ${{ env.HELM_VALUES }}"
echo "DOMAIN_NAME: ${{ env.DOMAIN_NAME }}"