better-deploy #5
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -60,7 +60,6 @@ jobs:
|
||||
run: docker build -t git.rivercry.com/wg/monitor-im-flur .
|
||||
- name: Push Docker image
|
||||
run: docker push git.rivercry.com/wg/monitor-im-flur
|
||||
|
||||
- name: Deploy via SSH
|
||||
uses: appleboy/ssh-action@v0.1.10
|
||||
with:
|
||||
@@ -70,8 +69,6 @@ jobs:
|
||||
password: ${{ secrets.GARRISON_DOCKER_PASSWORD }}
|
||||
script: |
|
||||
cd monitor-im-flur
|
||||
echo "Deploying Docker container..."
|
||||
$HYPRLAND_INSTANCE_SIGNATURE
|
||||
hyprctl dispatch exec 'pkill firefox'
|
||||
hyprctl dispatch exec 'firefox -kiosk localhost:9123'
|
||||
git clean -dfx
|
||||
|
||||
12
githooks/pre-commit
Executable file
12
githooks/pre-commit
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Running pre-commit hooks..."
|
||||
|
||||
biome check --write
|
||||
biome lint --write
|
||||
|
||||
if git diff --quiet; then
|
||||
exit 0
|
||||
else
|
||||
git add -u
|
||||
fi
|
||||
@@ -1,7 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
# create git-hash.html
|
||||
echo "<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
||||
Reference in New Issue
Block a user