diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ac544a4..a97577b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,6 +1,3 @@ -# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions - name: Deployment on: @@ -8,25 +5,9 @@ on: branches: [ main ] jobs: - install: - - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [14.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - - steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - - run: npm install - deploy: - needs: [install] + name: CD + if: github.repository == 'rpl-skandakra/bot' runs-on: ubuntu-latest steps: