Merge pull request #863 from kiwix/update-workflows-new-default-branch

New git default branch is 'main'
This commit is contained in:
Kelson 2022-12-27 14:28:13 +01:00 committed by GitHub
commit b3f1ab6579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ name: CI
on: on:
push: push:
branches: branches:
- master - main
pull_request: pull_request:
jobs: jobs:

View File

@ -73,8 +73,8 @@ jobs:
- uses: legoktm/gh-action-dput@master - uses: legoktm/gh-action-dput@master
name: Upload dev package name: Upload dev package
# Only upload on pushes to master # Only upload on pushes to git default branch
if: github.event_name == 'push' && github.event.ref == 'refs/heads/master' && startswith(matrix.distro, 'ubuntu-') if: github.event_name == 'push' && github.event.ref == 'refs/heads/main' && startswith(matrix.distro, 'ubuntu-')
with: with:
gpg_key: ${{ secrets.LAUNCHPAD_GPG }} gpg_key: ${{ secrets.LAUNCHPAD_GPG }}
repository: ppa:kiwixteam/dev repository: ppa:kiwixteam/dev