We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3df591e commit 4acb04bCopy full SHA for 4acb04b
1 file changed
.github/workflows/build-and-deploy.yml
@@ -25,7 +25,7 @@ jobs:
25
run: dotnet restore ./downpatch.csproj
26
27
- name: Publish
28
- run: dotnet publish ./downpatch.csproj -c Release -o ./out --no-restore
+ run: dotnet publish ./downpatch.csproj -c Release -o ./out -r linux-x64 --self-contained true /p:PublishSingleFile=false
29
30
- name: Configure SSH
31
shell: bash
@@ -54,6 +54,5 @@ jobs:
54
set -euo pipefail
55
ln -sfn "/var/www/downpatch/releases/${RELEASE}" /var/www/downpatch/current
56
57
- sudo -n /bin/systemctl restart downpatch.service
58
- sudo -n /bin/systemctl status downpatch.service --no-pager
+ sudo -n /usr/bin/systemctl restart downpatch.service
59
EOF
0 commit comments