Skip to content

Commit ed4c7a3

Browse files
committedJul 8, 2022
Use GitHub Actions instead of Travis CI.
1 parent 06c393f commit ed4c7a3

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed
 

‎.github/workflows/build.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build and push packages to PackageCloud.
2+
3+
on:
4+
push:
5+
branches:
6+
- 'master'
7+
paths-ignore:
8+
- 'README.md'
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
16+
- name: Install dependencies.
17+
run: |
18+
sudo gem install package_cloud
19+
20+
- name: Build.
21+
run: |
22+
./gh-build.sh
23+
24+
- name: Push package.
25+
env:
26+
PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
27+
run: |
28+
package_cloud push nitrux/repo/debian/trixie files/*.deb

‎travis-build.sh ‎gh-build.sh

File renamed without changes.

0 commit comments

Comments
 (0)
Please sign in to comment.