mirror of https://github.com/kiwix/libkiwix.git
Merge pull request #863 from kiwix/update-workflows-new-default-branch
New git default branch is 'main'
This commit is contained in:
commit
b3f1ab6579
|
@ -3,7 +3,7 @@ name: CI
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue