From 64886707b9e3fd96e8e02c516ab86f51e90ca5ba Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 30 Sep 2020 19:23:16 +0100 Subject: [PATCH] Remove GitHub CI config We on GitLab now! --- .github/workflows/ci.yml | 36 ------------------------------------ .github/workflows/deploy.yml | 21 --------------------- 2 files changed, 57 deletions(-) delete mode 100644 .github/workflows/ci.yml delete mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index e19da01..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: CI - -on: [push, pull_request] - -jobs: - docker: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - - name: Build image - run: docker build . --tag notes - - - name: Show image info - run: docker images - - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - - name: Setup node - uses: actions/setup-node@v1 - with: - node-version: '14.x' - - - uses: actions/cache@v1 - with: - path: $HOME/.npm - key: npm-${{ hashFiles('package-lock.json') }} - - - name: Install Dependencies - run: npm ci - - - name: Run release build - run: npm run release diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index d1f163f..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Deploy - -on: - push: - branches: - - master - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - - name: Build production container - run: docker build --tag docker.pkg.github.com/${GITHUB_REPOSITORY,,}/notes:latest . - - - name: Log into GitHub Docker Registry - run: echo ${{ secrets.GITHUB_TOKEN }} | docker login docker.pkg.github.com -u ${GITHUB_REPOSITORY%/*} --password-stdin - - - name: Push the Docker container - run: docker push docker.pkg.github.com/${GITHUB_REPOSITORY,,}/notes:latest