diff --git a/.drone.yml b/.drone.yml index 31270d2..835a6dd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -49,8 +49,8 @@ steps: - docker build --tag worktime:latest /home/webmaster/worktime/backend - name: restart docker commands: - - docker stop worktime - - docker rm worktime + - docker stop worktime || true + - docker rm worktime || true - docker run --name worktime -p 3003:3000 -d worktime trigger: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 7484ac5..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: CI and DI - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - - workflow_dispatch: - -jobs: - build-deploy: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - name: Set-up Node - uses: actions/setup-node@v1 - with: - node-version: "14.2.x" - - - run: npm install - - run: npm run build - - - name: Deploy - uses: crazy-max/ghaction-github-pages@v1 - with: - target_branch: gh-pages - build_dir: dist - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -