Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Revert "sync to gh-pages instead of server"
Browse files Browse the repository at this point in the history
This reverts commit dae3eac.
  • Loading branch information
adamthiede committed Aug 19, 2024
1 parent b18b9b5 commit fbac26f
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,12 @@ jobs:
flatpak build-bundle --arch=aarch64 /opt/pakrepo ./signal.flatpak org.signal.Signal master
cp ./signal.flatpak ~/
sha256sum signal.flatpak | tee -a checksums.txt
- name: checkout gh-pages branch
uses: actions/checkout@v4
with:
ref: gh-pages
- name: sync to gh-pages branch repo dir and commit
- name: sync to server
shell: bash
run: |
rsync -a --delete /opt/pakrepo/ ./repo/
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
git config --global user.name "${{ github.actor }}"
git add repo
git commit -m "repo update"
git push
rsync -azu --delete /opt/pakrepo/ server:/var/www/htdocs/elagost.com/flatpak/repo/
rsync -z ~/signal-desktop.deb server:/var/www/htdocs/elagost.com/flatpak/
rsync -z ~/signal.flatpak server:/var/www/htdocs/elagost.com/flatpak/
- name: clean up images for self-hosted runner
env:
VERSION: "7.20.0"
Expand All @@ -104,7 +97,7 @@ jobs:
- name: Upload release artifacts
env:
VERSION: "7.20.0"
uses: AButler/upload-release-assets@v3.0
uses: AButler/upload-release-assets@v3
with:
release-tag: ${{ env.VERSION }}
files: "signal-desktop.deb;signal.flatpak;checksums.txt"
Expand Down

0 comments on commit fbac26f

Please sign in to comment.