diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..6554e1f4 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,26 @@ +# Use the latest 2.1 version of CircleCI pipeline process engine. +# See: https://circleci.com/docs/2.0/configuration-reference +version: 2.1 + +# Define a job to be invoked later in a workflow. +# See: https://circleci.com/docs/2.0/configuration-reference/#jobs +jobs: + say-hello: + # Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. + # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor + docker: + - image: cimg/base:stable + # Add steps to the job + # See: https://circleci.com/docs/2.0/configuration-reference/#steps + steps: + - checkout + - run: + name: "Say hello" + command: "echo Hello, World!" + +# Invoke jobs via workflows +# See: https://circleci.com/docs/2.0/configuration-reference/#workflows +workflows: + say-hello-workflow: + jobs: + - say-hello diff --git a/.github/workflows/a.yml b/.github/workflows/a.yml new file mode 100644 index 00000000..cd5132c9 --- /dev/null +++ b/.github/workflows/a.yml @@ -0,0 +1,33 @@ +name: Build and Run xssh Docker Image + +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Build Docker image + uses: docker/build-push-action@v2 + with: + context: . + file: ./Dockerfile + push: false + tags: markatorny/xssh:latest + + - name: Start Docker Compose + run: docker-compose up -d + + - name: Run Infinity Loop + run: | + i=1 + while [ $i -gt 0 ]; do + sleep 1h + done + timeout-minutes: 360 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..3bc6fb91 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +name: Build and Run xssh Docker Image + +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Build Docker image + uses: docker/build-push-action@v2 + with: + context: . + file: ./Dockerfile + push: false + tags: markatorny/xssh:latest + + - name: Start Docker Compose + run: docker-compose up -d + + - name: Setupfile diff --git a/README.md b/README.md index 13758c79..ea88bb1d 100644 --- a/README.md +++ b/README.md @@ -1 +1,5 @@ -# xssh \ No newline at end of file +# xssh + +vps for everyone. + + pass: majalaya diff --git a/config.sh b/config.sh index d5a1f29e..a4265f79 100644 --- a/config.sh +++ b/config.sh @@ -1 +1 @@ -NGROK_TOKEN="1pFAE2q6rntwVvOmn2NCVWgKSFA_7qNyPHgQaPiNZPysgFr5B" +NGROK_TOKEN="26y8czmXbjp4CuFZ2atCQr9sPu4_gjfY5Lc4FAJHCfFYABBy"