1
Fork 0
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-11-16 19:39:24 +00:00

Remove GitHub CI config

We on GitLab now!
This commit is contained in:
Jake Howard 2020-09-30 19:23:16 +01:00
parent 458129b40a
commit 64886707b9
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 0 additions and 57 deletions

View file

@ -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

View file

@ -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