Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
caothu159 authored May 3, 2024
1 parent 97d94e1 commit a962b91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ on:
branches: [main]
paths-ignore:
- '**.md'
- '**.yml'
- 'dists/**'
pull_request:
branches: [main]
paths-ignore:
- '**.md'
- '**.yml'
- 'dists/**'

# Allows you to run this workflow manually from the Actions tab
Expand Down Expand Up @@ -100,8 +102,6 @@ jobs:
- name: Push repository
run: |
if [ "$(git status --porcelain=v1 2>/dev/null | wc -l)" != "0" ]; then
rm -rf dists/
git add dists/
git add src/debian/changelog
git commit -m "Update packages on dists from ${{ matrix.operating-system }} at $(date +'%d-%m-%y')" &&
# git push https://${{ github.repository_owner }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git main ||
Expand Down

0 comments on commit a962b91

Please sign in to comment.