From 79e9d9d4e18deb38f9746fbc62a371edda19b622 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Kuna?= <1282324+codecalm@users.noreply.github.com> Date: Sun, 8 May 2022 23:19:00 +0200 Subject: [PATCH] Delete preview.yml --- .github/workflows/preview.yml | 46 ----------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 .github/workflows/preview.yml diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml deleted file mode 100644 index 98eebeb7..00000000 --- a/.github/workflows/preview.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Build and deploy preview - -on: - push: - branches: - - main - - dev-gh - -env: - NODE: 14 - -jobs: - github-pages: - runs-on: ubuntu-latest - steps: - - name: Clone repository - uses: actions/checkout@v2 - - - name: Set up Node.js - uses: actions/setup-node@v2 - with: - node-version: "${{ env.NODE }}" - cache: npm - - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: 2.6 - bundler-cache: true - - - run: ruby --version - - run: node --version - - - name: Install npm dependencies - run: npm ci - - - name: Build preview - run: npm run preview - - - name: Sync files - uses: SamKirkland/FTP-Deploy-Action@4.1.0 - with: - server: ${{ secrets.PREVIEW_HOST }} - username: ${{ secrets.PREVIEW_USER }} - password: ${{ secrets.PREVIEW_PASSWORD }} - local-dir: ./demo/ -- GitLab