Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kennyd3d committed Oct 14, 2024
1 parent ddf50df commit 2c75d51
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
SHA_SHORT=$(echo $GITHUB_SHA | cut -c1-7)
echo "SHA_SHORT=$SHA_SHORT"
echo "::set-output name=sha_short::$SHA_SHORT" # Set output for the job
echo "::set-output name=sha_short::$SHA_SHORT"
- name: Log in to Docker Hub
uses: docker/login-action@v3
Expand Down Expand Up @@ -66,8 +66,8 @@ jobs:
working-directory: ./argo-deployments
run: |
git fetch origin main
git reset --hard origin/main # Resets to ensure you are in sync with the remote branch
git clean -fd # Removes any untracked files
git reset --hard origin/main
git clean -fd
- name: Update image tag in values-dev.yaml
working-directory: ./argo-deployments
Expand All @@ -90,9 +90,6 @@ jobs:
git pull origin main --rebase
- name: Push changes
uses: ad-m/github-push-action@master
with:
branch: main
github_token: ${{ secrets.GH_TOKEN }}
directory: ./argo-deployments

working-directory: ./argo-deployments
run: |
git push origin main --force-with-lease

0 comments on commit 2c75d51

Please sign in to comment.