Skip to content

Commit

Permalink
fix deployment yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
srliao committed Apr 17, 2024
1 parent 9d07e61 commit cd75e31
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/containers.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: deployment build
name: deployment build
on:
workflow_dispatch:
push:
Expand All @@ -15,15 +15,15 @@ jobs:
uses: tj-actions/branch-names@v7

# grab latest sha
- name: Setup Environment (PR)
if: ${{ github.event_name == 'pull_request' }}
shell: bash
run: |
echo "LAST_COMMIT_SHA=${{ github.event.pull_request.head.sha }}" >> ${GITHUB_ENV}
- name: Setup Environment (Push)
if: ${{ github.event_name == 'push' }}
shell: bash
run: |
- name: Setup Environment (PR)
if: ${{ github.event_name == 'pull_request' }}
shell: bash
run: |
echo "LAST_COMMIT_SHA=${{ github.event.pull_request.head.sha }}" >> ${GITHUB_ENV}
- name: Setup Environment (Push)
if: ${{ github.event_name == 'push' }}
shell: bash
run: |
echo "LAST_COMMIT_SHA=${GITHUB_SHA}" >> ${GITHUB_ENV}
# setup + test go and yarn
Expand All @@ -39,4 +39,4 @@ jobs:
with:
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
githubActor: $${{ github.actor}}
githubRepo: $${{ github.repository }}
githubRepo: $${{ github.repository }}

0 comments on commit cd75e31

Please sign in to comment.