Skip to content

Commit

Permalink
Try out action in pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKostka committed Jan 29, 2025
1 parent 842955e commit a5c072d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/docker.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,18 @@ jobs:
labels: ${{ steps.docker_meta.outputs.labels }}
-
name: Check out `wmde/wbaas-deploy` repository in staging child directory
if: github.event_name != 'pull_request'
uses: actions/checkout@v3.5.3
with:
repository: wmde/wbaas-deploy
path: ./repos/wbaas-deploy-staging
-
name: Check out `wmde/wbaas-deploy` repository in production child directory
if: github.event_name != 'pull_request'
uses: actions/checkout@v3.5.3
with:
repository: wmde/wbaas-deploy
path: ./repos/wbaas-deploy-production
-
name: Update helmfile values for local, staging and production
if: github.event_name != 'pull_request'
id: update-helmfile-values
run: |
TAG="$(echo ${{ steps.docker_meta.outputs.tags }} | cut -d':' -f2)"
Expand All @@ -81,15 +78,13 @@ jobs:
# run the values script for local, prod and staging
-
name: Truncate commit message
if: github.event_name != 'pull_request'
id: truncate-commit-message
run: |
MSG=$(git log -1 --pretty=format:%s)
echo "msg=$MSG" >> $GITHUB_OUTPUT
-
name: Create Staging+Local Pull Request
uses: peter-evans/create-pull-request@v5
if: github.event_name != 'pull_request'
with:
path: ./repos/wbaas-deploy-staging
commit-message: 'Staging+Local: Deploy new Widar image ${{ steps.docker_meta.outputs.tags }}'
Expand All @@ -106,7 +101,6 @@ jobs:
-
name: Create Production Pull Request
uses: peter-evans/create-pull-request@v5
if: github.event_name != 'pull_request'
with:
path: ./repos/wbaas-deploy-production
commit-message: 'Production: Deploy new Widar image ${{ steps.docker_meta.outputs.tags }}'
Expand Down

0 comments on commit a5c072d

Please sign in to comment.