1
0
Fork 0
mirror of synced 2024-06-13 07:54:56 +12:00

add github push code to builder CI actions

This commit is contained in:
Nick Sweeting 2020-12-11 19:09:40 +02:00
parent 4cda0d4e44
commit ec86060a61
3 changed files with 47 additions and 2 deletions

View file

@ -31,12 +31,12 @@ jobs:
- name: Build Debian/Apt sdist_dsc
run: |
python3 setup.py --command-packages=stdeb.command \
sdist_dsc
sdist_dsc
- name: Build Debian/Apt bdist_deb
run: |
python3 setup.py --command-packages=stdeb.command \
bdist_deb
bdist_deb
- name: Install archivebox from deb
run: |
@ -50,6 +50,21 @@ jobs:
archivebox version
archivebox status
# - name: Commit files
# run: |
# cd deb_dist/
# git config --local user.email "action@github.com"
# git config --local user.name "GitHub Action"
# git commit -m "Debian package autobuild" -a
# - name: Push changes
# uses: ad-m/github-push-action@master
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# repository: ArchiveBox/debian-archivebox
# branch: ${{ github.ref }}
# directory: deb_dist
# TODO: push debian package to launchpad PPA
# - name: Push to launchpad
# run: |

View file

@ -30,4 +30,19 @@ jobs:
archivebox version
archivebox status
# - name: Commit files
# run: |
# cd brew_dist/
# git config --local user.email "action@github.com"
# git config --local user.name "GitHub Action"
# git commit -m "Homebrew package autobuild" -a
# - name: Push changes
# uses: ad-m/github-push-action@master
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# repository: ArchiveBox/homebrew-archivebox
# branch: ${{ github.ref }}
# directory: brew_dist
# TODO: push bottle to Github and open homebrew core PR with latest changes

View file

@ -39,4 +39,19 @@ jobs:
archivebox version
archivebox status
# - name: Commit files
# run: |
# cd pip_dist/
# git config --local user.email "action@github.com"
# git config --local user.name "GitHub Action"
# git commit -m "Pip package autobuild" -a
# - name: Push changes
# uses: ad-m/github-push-action@master
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# repository: ArchiveBox/pip-archivebox
# branch: ${{ github.ref }}
# directory: pip_dist
# TODO: push to PyPI with twine