Skip to content

Commit

Permalink
ci: use secrets:inherit for upload-debian-pkg-action
Browse files Browse the repository at this point in the history
  • Loading branch information
furmur committed Dec 12, 2024
1 parent df23e85 commit 27e7c67
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,7 @@ jobs:
run: debuild -us -uc -b -j$(nproc)

- uses: furmur/upload-debian-pkg-action@v1
secrets: inherit
with:
pkgs: '../*.deb'
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
env:
PKG_API_BASE: ${{secrets.PKG_API_BASE}}
AWS_ACCESS_KEY_ID: ${{secrets.DEB_AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{secrets.DEB_AWS_SECRET_ACCESS_KEY}}
AWS_ENDPOINT_URL: ${{secrets.DEB_AWS_ENDPOINT}}
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v')

0 comments on commit 27e7c67

Please sign in to comment.