Skip to content

Commit

Permalink
frontend-CI: use push action
Browse files Browse the repository at this point in the history
  • Loading branch information
defgsus committed Nov 13, 2023
1 parent 8cfbd47 commit f0a46fe
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
git add -f bad/static/index*
git status
git commit -m"build frontend"
- name: push changes
run: |
git push -u origin ${GITHUB_REF_NAME}-frontend || (git pull --rebase --no-edit && git push -u origin ${GITHUB_REF_NAME}-frontend)
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${GITHUB_REF_NAME}-frontend

0 comments on commit f0a46fe

Please sign in to comment.