Skip to content

Commit

Permalink
Enabled again the upload of the DEB file to the ubuntu repo
Browse files Browse the repository at this point in the history
  • Loading branch information
walkero-gr committed Aug 17, 2024
1 parent 9585262 commit bad9c94
Showing 1 changed file with 13 additions and 21 deletions.
34 changes: 13 additions & 21 deletions .github/workflows/makeRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,26 +58,19 @@ jobs:
asset_path: /opt/code/clib4-${{ github.event.release.tag_name }}_amd64.deb
asset_name: clib4-${{ github.event.release.tag_name }}_amd64.deb
asset_content_type: application/vnd.debian.binary-pac
# - name: Upload DEB release file to the server
# uses: kostya-ten/ssh-server-deploy@v4
# with:
# host: ${{ secrets.DEBSERVER_HOST }}
# port: ${{ secrets.DEBSERVER_PORT }}
# username: ${{ secrets.DEBSERVER_USERNAME }}
# private_key: ${{ secrets.DEBSERVER_PRIVATE_KEY }}
# scp_source: clib4-${{ github.event.release.tag_name }}_amd64.deb
# scp_target: /opt/amigarepo/ubuntu/pool/main
# before_script: |
# rm /opt/amigarepo/ubuntu/pool/main/clib4*.deb
# after_script: |
# /root/regenerate-packages.sh
# - name: Commit latest changes to repository
# run: |
# git checkout -b "release-${{ github.event.release.tag_name }}"
# git config --global user.email "[email protected]"
# git config --global user.name "walkero-gr"
# git add .
# git commit -m "Release clib4-${{ github.event.release.tag_name }} changes"
- name: Upload DEB release file to the server
uses: kostya-ten/ssh-server-deploy@v4
with:
host: ${{ secrets.DEBSERVER_HOST }}
port: ${{ secrets.DEBSERVER_PORT }}
username: ${{ secrets.DEBSERVER_USERNAME }}
private_key: ${{ secrets.DEBSERVER_PRIVATE_KEY }}
scp_source: clib4-${{ github.event.release.tag_name }}_amd64.deb
scp_target: /opt/amigarepo/ubuntu/pool/main
before_script: |
rm /opt/amigarepo/ubuntu/pool/main/clib4*.deb
after_script: |
/root/regenerate-packages.sh
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v6
Expand All @@ -91,7 +84,6 @@ jobs:
if: steps.cpr.outputs.pull-request-operation == 'created'
uses: peter-evans/enable-pull-request-automerge@v3
with:
# token: ${{ secrets.PAT }}
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
merge-method: squash
# - name: Prepare OS4Depot release
Expand Down

0 comments on commit bad9c94

Please sign in to comment.