Compare commits

..

2 commits

View file

@ -13,9 +13,9 @@ jobs:
fetch-depth: 0
- name: Build Debian package
env:
MAINTAINER_NAME: ${{ vars.MAINTAINER_NAME }}
MAINTAINER_EMAIL: ${{ vars.MAINTAINER_EMAIL }}
DEBIAN_CODENAME: ${{ vars.DEBIAN_CODENAME }}
MAINTAINER_NAME: ${{ secrets.MAINTAINER_NAME }}
MAINTAINER_EMAIL: ${{ secrets.MAINTAINER_EMAIL }}
DEBIAN_CODENAME: ${{ secrets.DEBIAN_CODENAME }}
run: |
echo "${{ secrets.GPG_KEY }}"|base64 -d|gpg --import
./build.sh
@ -42,25 +42,25 @@ jobs:
name: dist
- name: Create the release
id: create-release
id: publish-release-notes
shell: bash
run: |
mkdir release
mv *.deb release/
{
echo 'release_note<<EOF'
cat release-notes.md
echo 'EOF'
} >> "$GITHUB_OUTPUT"
cat << EOF >> "$GITHUB_OUTPUT"
value<<ENDVAR
$(cat release-notes.md)
ENDVAR
EOF
- name: Publish release on Forgejo
- name: Create release on Forgejo
uses: actions/forgejo-release@v1
with:
direction: upload
url: https://gitea.zionetrix.net
token: ${{ secrets.forgejo_token }}
release-dir: release
release-notes: ${{ steps.create-release.outputs.release_note }}
release-notes: ${{ steps.publish-release-notes.outputs.value }}
publish-aptly:
runs-on: docker
@ -75,9 +75,9 @@ jobs:
- name: "Publish Debian package on Aptly repository"
uses: https://gitea.zionetrix.net/bn8/aptly-publish@master
with:
api_url: ${{ vars.apt_api_url }}
api_username: ${{ vars.apt_api_username }}
api_url: ${{ secrets.apt_api_url }}
api_username: ${{ secrets.apt_api_username }}
api_password: ${{ secrets.apt_api_password }}
repo_name: ${{ vars.apt_repo_name }}
repo_name: ${{ secrets.apt_repo_name }}
path: "./"
source_name: "forgejo"