-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enabled again the upload of the DEB file to the ubuntu repo
- Loading branch information
1 parent
9585262
commit bad9c94
Showing
1 changed file
with
13 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|