git.delta.rocks / unique-network / refs/commits / 443abbd4411c

difftreelog

Update node_build_test.yml

akaryaginUSETECH2021-03-11parent: #ba63938.patch.diff
in: master

1 file changed

modifiednode_build_test.ymldiffbeforeafterboth
before · node_build_test.yml
1name: 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: [ master ]8  pull_request:9    branches: [ master ]1011  # Allows you to run this workflow manually from the Actions tab12  workflow_dispatch:1314# A workflow run is made up of one or more jobs that can run sequentially or in parallel15jobs:16  build:17    # The type of runner that the job will run on18    runs-on: ubuntu-20.041920    # Steps represent a sequence of tasks that will be executed as part of the job21    steps:22      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it23      - uses: actions/checkout@v224          25     #runs ssh connection26      - name: Go to server27        uses: appleboy/ssh-action@master28        with:29          host: ${{ secrets.SERVER_IP }}30          username: ${{ secrets.SERVER_USERNAME }}31          key: ${{ secrets.KEY }}32          port: ${{ secrets.SERVER_PORT }}33          # command_timeout: 200m34          script: |35            eval $(ssh-agent -s)36            ssh-add /home/devops/.ssh/git_hub37            git clone git@github.com:usetech-llc/nft_private.git38            cd nft_private39            git checkout develop40            # git pull --all41            chmod +x ci_node.sh42            ./ci_node.sh43            rm -rf /home/polkadot/nft_private
after · node_build_test.yml
1name: 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