latest 20 messages by catbeard
+
[2020-10-25T23:55:03Z]
catbeard
brings me back
+
[2020-10-25T23:54:38Z]
catbeard
mIRC
+
[2020-10-25T23:53:34Z]
catbeard
just doodz on IRC answering simples for mIRCers
+
[2020-02-17T17:21:30Z]
catbeard
does that sound right?
+
[2020-02-17T17:21:27Z]
catbeard
that way it can pull master specifically, and if there are any updates, update /path/to/checkoutdir, and use the server-side hook to manually trigger ssh -A webX sync_script (which pulls from rsync:// on the server i just checked out to)
+
[2020-02-17T17:20:02Z]
catbeard
and have rsync:// "folder" rooted in the checkoutdir so no .git files
+
[2020-02-17T17:19:01Z]
catbeard
have a --shared --bare repo, with a server-side git hook that does `GIT_WORK_TREE=/path/to/checkoutdir git checkout -f`
+
[2020-02-17T17:18:31Z]
catbeard
my thinking is that we just can't have push if it's going to be this complicated, and might be easier to `git pull` on a cronjob with a RO deploy key
+
[2020-02-17T17:06:55Z]
catbeard
i'm putting a $25 bounty on it - pm me if you can write the yml workflow based on what i already have
+
[2020-02-17T17:01:46Z]
catbeard
github ssh to -> admin_server rsync to -> webserver
+
[2020-02-17T17:01:02Z]
catbeard
or is that not possible
+
[2020-02-17T17:00:46Z]
catbeard
though it needs to push not pull
+
[2020-02-17T17:00:33Z]
catbeard
the idea is that on master push, it copies the latest to a remote server, sshes into that remote server, runs rsync from local to rsync:// remote, then runs a script on the server i just sshed to which runs (ssh -A user@internal.server /path/to/post-sync.sh) and the other servers are triggered to pull from rsync://
+
[2020-02-17T16:56:37Z]
catbeard
though i'm not sure how it's deployed to a specific server, is this an outbound ssh connection, or do i have to call rsync in run: | to get it to copy to a remote server (instead of presumably running on the server that has ubuntu-latest)
+
[2020-02-17T16:55:38Z]
catbeard
the idea is that i load the key into secrets and pass into ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
+
[2020-02-17T16:55:09Z]
catbeard
i need to setup .github/workflows/deploy.yml
+
[2020-02-17T16:54:49Z]
catbeard
i'm using webfactory/ssh-agent action
+
[2020-02-17T16:54:39Z]
catbeard
i need to wrap this up today so need some help
+
[2020-02-17T16:54:24Z]
catbeard
hi all
+
[2016-07-27T19:05:34Z]
catbeard
are there build instructions for cent/rhel6, also a way to integrate with CSF?