Skip to content

Commit

Permalink
chore: chante checkout branch
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhav committed Aug 13, 2024
1 parent 329e5fb commit 929f2df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,12 @@ jobs:
- name: Check if deployment should be skipped
id: skip_check
run: |
if [[ "${{ matrix.channel }}" == "dev" && ("${{ matrix.directory }}" == "delayed-data" || "${{ matrix.directory }}" == "custom-transform") ]]; then
if [[ "${{ matrix.channel }}" != "main" && ("${{ matrix.directory }}" == "delayed-data" || "${{ matrix.directory }}" == "custom-transform") ]]; then
echo "skip=true" >> $GITHUB_OUTPUT
echo "Skipping deployment for ${{ matrix.directory }} app."
else
echo "skip=false" >> $GITHUB_OUTPUT
echo "Proceeding with deployment for ${{ matrix.directory }} app."
fi
- name: Setup job token 🔑
Expand All @@ -91,7 +93,7 @@ jobs:
- name: Checkout repo 🛎
uses: actions/checkout@v4
with:
ref: "${{ env.BRANCH_NAME }}"
ref: "669_insertUI@dev"
token: "${{ steps.github-token.outputs.token }}"

- name: Add safe directory in git config
Expand Down

0 comments on commit 929f2df

Please sign in to comment.