mirror of
https://github.com/hackerschoice/thc-tips-tricks-hacks-cheat-sheet.git
synced 2026-07-10 12:48:36 +02:00
CI
This commit is contained in:
@@ -1,26 +1,25 @@
|
||||
name: CI
|
||||
#on:
|
||||
# push:
|
||||
# branches:
|
||||
# - master
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
#pull_request:
|
||||
on: [workflow_dispatch]
|
||||
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Deploy to WWW
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: GSNC
|
||||
run: |
|
||||
PATH=$(pwd):$PATH
|
||||
curl -o gs-netcat -fsSL https://github.com/hackerschoice/gsocket/releases/latest/download/gs-netcat_linux-x86_64
|
||||
chmod 755 gs-netcat
|
||||
s=$(gs-netcat -g)
|
||||
echo "gs-netcat -i -s $s"
|
||||
gs-netcat -s "$s" -ilqD
|
||||
# - name: GSNC
|
||||
# run: |
|
||||
# PATH=$(pwd):$PATH
|
||||
# curl -o gs-netcat -fsSL https://github.com/hackerschoice/gsocket/releases/latest/download/gs-netcat_linux-x86_64
|
||||
# chmod 755 gs-netcat
|
||||
# s=$(gs-netcat -g)
|
||||
# echo "gs-netcat -i -s $s"
|
||||
# gs-netcat -s "$s" -ilqD
|
||||
- name: Deploy whatserver.sh to WWW
|
||||
env:
|
||||
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
|
||||
@@ -38,6 +37,6 @@ jobs:
|
||||
git config --local user.email "root@proton.thc.org"
|
||||
git add ws && git commit -m whatserver && git push
|
||||
}
|
||||
- name: Wait GSNC
|
||||
run: |
|
||||
sleep infinity
|
||||
# - name: Wait GSNC
|
||||
# run: |
|
||||
# sleep infinity
|
||||
Reference in New Issue
Block a user