From 9a4c49b2cd9450593438adb08a9d29f59f33c9c4 Mon Sep 17 00:00:00 2001 From: Yanislav Igonin Date: Sat, 28 Aug 2021 19:59:23 +0300 Subject: [PATCH] feat: remove release tml --- .github/workflows/release.yml | 88 ----------------------------------- 1 file changed, 88 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index deadb74..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,88 +0,0 @@ -# name: Release - -# on: -# release: -# types: [released] - -# jobs: -# lint: -# runs-on: ubuntu-latest - -# steps: -# - name: Checkout -# uses: actions/checkout@v2 -# - name: Use Node.js 14 -# uses: actions/setup-node@v2-beta -# with: -# node-version: 14.x -# - name: Install dependencies -# run: npm ci -# - name: Lint -# run: npm run lint - -# build: -# needs: lint - -# runs-on: ubuntu-latest - -# steps: -# - name: Checkout -# uses: actions/checkout@v2 -# - name: Use Node.js 14 -# uses: actions/setup-node@v2-beta -# with: -# node-version: 14.x -# - name: Install dependencies -# run: npm ci -# - name: Build -# run: npm run build -# - name: Upload build -# uses: actions/upload-artifact@v2 -# with: -# name: dist -# path: dist - -# release: -# needs: build - -# runs-on: ubuntu-latest - -# steps: -# - name: Checkout -# uses: actions/checkout@v2 -# - name: Download build -# uses: actions/download-artifact@v2 -# with: -# name: dist -# path: dist -# - name: Build docker image and push to GitHub registry -# uses: docker/build-push-action@v1 -# with: -# username: ${{ github.actor }} -# password: ${{ secrets.GITHUB_TOKEN }} -# registry: docker.pkg.github.com -# repository: yanislav-igonin/face-fucker-bot/face-fucker-bot -# dockerfile: production.Dockerfile -# tags: latest, ${{ github.event.release.tag_name }} -# build_args: CI_COMMIT_TAG=${{ github.event.release.tag_name }} - -# deploy: -# needs: release - -# runs-on: ubuntu-latest - -# steps: -# - name: Deploy -# uses: appleboy/ssh-action@master -# env: -# REGISTRY: docker.pkg.github.com/yanislav-igonin/face-fucker-bot -# SERVICE_NAME: face-fucker-bot_app -# with: -# host: ${{ secrets.VPS_HOST }} -# username: ${{ secrets.VPS_SSH_USERNAME }} -# key: ${{ secrets.VPS_SSH_PRIVATE_KEY }} -# script: | -# docker login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ${{ env.REGISTRY }} -# docker pull ${{ env.REGISTRY }}:${{ github.event.release.tag_name }} -# docker pull ${{ env.REGISTRY }}:latest -# docker service update --image ${{ env.REGISTRY }}:${{ github.event.release.tag_name }} ${{ env.SERVICE_NAME }} \ No newline at end of file