File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : build
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ - github-ci
8
+
9
+ # Allows you to run this workflow manually from the Actions tab
10
+ workflow_dispatch :
11
+
12
+ jobs :
13
+ build :
14
+ runs-on : ubuntu-latest
15
+ container : debian:12
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+
19
+ - name : build .deb files
20
+ run : |
21
+ apt install -y git-buildpackage build-essential debhelper-compat default-libmysqlclient-dev krb5-multidev libapparmor-dev libbz2-dev libcap-dev libdb-dev libexpat-dev libexttextcat-dev libicu-dev libldap2-dev liblua5.4-dev liblz4-dev liblzma-dev libpam0g-dev libpq-dev libsasl2-dev libsodium-dev libsqlite3-dev libssl-dev libstemmer-dev libsystemd-dev libwrap0-dev libzstd-dev pkg-config zlib1g-dev
22
+ DEB_BUILD_OPTIONS=nocheck gbp buildpackage --git-no-pristine-tar -us -uc
23
+ mkdir -p "$HOME/.ssh"
24
+ echo "${{ secrets.KEY }}" > "$HOME/.ssh/key"
25
+ chmod 600 "$HOME/.ssh/key"
26
+ rsync -rILvh -e "ssh -i $HOME/.ssh/key -o StrictHostKeyChecking=no" $GITHUB_WORKSPACE/build-area "${{ secrets.USERNAME }}@chatmail.at:/var/www/html/staging.chatmail.at/"
27
+
You can’t perform that action at this time.
0 commit comments