difftreelog
removing old workflows
in: master
4 files changed
.github/workflows/main.ymldiffbeforeafterboth--- a/.github/workflows/main.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-name: Docker build
-
-on:
- push:
- branches: [ master ]
- schedule:
- - cron: '* 1 * * *'
-
-jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - name: Docker login
- run: docker login -u gzusetech -p "$TOKEN"
- env:
- TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}
- - name: Build image
- run: docker build -t usetechcorp/nft_parachain .
- - name: Push the image to Docker hub
- run: docker push usetechcorp/nft_parachain:latest
-
.github/workflows/node_build_test.ymldiffbeforeafterboth--- /dev/null
+++ b/.github/workflows/node_build_test.yml
@@ -0,0 +1,44 @@
+name: Build & test
+
+# Controls when the action will run.
+on:
+ # Triggers the workflow on push or pull request events but only for the master branch
+ push:
+ branches: [ develop ]
+ # pull_request:
+ # branches: [ develop ]
+ # Allows you to run this workflow manually from the Actions tab
+ workflow_dispatch:
+
+# A workflow run is made up of one or more jobs that can run sequentially or in parallel
+jobs:
+ build:
+ # The type of runner that the job will run on
+ runs-on: ubuntu-20.04
+
+ # if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
+
+ # Steps represent a sequence of tasks that will be executed as part of the job
+ steps:
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
+ - uses: actions/checkout@v2
+
+ #runs ssh connection
+ - name: Go to server
+ uses: appleboy/ssh-action@master
+ with:
+ host: ${{ secrets.SERVER_IP }}
+ username: ${{ secrets.SERVER_USERNAME }}
+ key: ${{ secrets.KEY }}
+ port: ${{ secrets.SERVER_PORT }}
+ # command_timeout: 200m
+ script: |
+ eval $(ssh-agent -s)
+ ssh-add /home/devops/.ssh/git_hub
+ git clone git@github.com:usetech-llc/nft_private.git
+ cd nft_private
+ git checkout develop
+ # git pull --all
+ chmod +x ci_node.sh
+ ./ci_node.sh
+ rm -rf /home/polkadot/nft_private
\ No newline at end of file
.github/workflows/notify.ymldiffbeforeafterboth--- a/.github/workflows/notify.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-name: telegram message
-on:
- push:
- branches: [ develop ]
-jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - uses: avkviring/telegram-github-action@v0.0.8
- env:
- telegram_to: ${{ secrets.TELEGRAM_TO }}
- telegram_token: ${{ secrets.TELEGRAM_TOKEN }}
- event: ${{ toJson(github.event) }}
\ No newline at end of file
node_build_test.ymldiffbeforeafterboth1name: Build & test23# Controls when the action will run. 4on:5 # Triggers the workflow on push or pull request events but only for the master branch6 push:7 branches: [ develop ]8 # pull_request:9 # branches: [ develop ]10 # Allows you to run this workflow manually from the Actions tab11 workflow_dispatch:1213# A workflow run is made up of one or more jobs that can run sequentially or in parallel14jobs:15 build:16 # The type of runner that the job will run on17 runs-on: ubuntu-20.041819 # if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true2021 # Steps represent a sequence of tasks that will be executed as part of the job22 steps:23 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it24 - uses: actions/checkout@v225 26 #runs ssh connection27 - name: Go to server28 uses: appleboy/ssh-action@master29 with:30 host: ${{ secrets.SERVER_IP }}31 username: ${{ secrets.SERVER_USERNAME }}32 key: ${{ secrets.KEY }}33 port: ${{ secrets.SERVER_PORT }}34 # command_timeout: 200m35 script: |36 eval $(ssh-agent -s)37 ssh-add /home/devops/.ssh/git_hub38 git clone git@github.com:usetech-llc/nft_private.git39 cd nft_private40 git checkout develop41 # git pull --all42 chmod +x ci_node.sh43 ./ci_node.sh44 rm -rf /home/polkadot/nft_private