From ec86060a6193bcc56f7b587bcdb352cc28f8ef5a Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Fri, 11 Dec 2020 19:09:40 +0200 Subject: [PATCH] add github push code to builder CI actions --- .github/workflows/debian.yml | 19 +++++++++++++++++-- .github/workflows/homebrew.yml | 15 +++++++++++++++ .github/workflows/pip.yml | 15 +++++++++++++++ 3 files changed, 47 insertions(+), 2 deletions(-) diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml index 7e931cc6..d78075b9 100644 --- a/.github/workflows/debian.yml +++ b/.github/workflows/debian.yml @@ -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: | diff --git a/.github/workflows/homebrew.yml b/.github/workflows/homebrew.yml index 543100bd..ce4e4d89 100644 --- a/.github/workflows/homebrew.yml +++ b/.github/workflows/homebrew.yml @@ -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 diff --git a/.github/workflows/pip.yml b/.github/workflows/pip.yml index 27763a73..b892a7ad 100644 --- a/.github/workflows/pip.yml +++ b/.github/workflows/pip.yml @@ -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