Skip to content

CI

CI #827

Workflow file for this run

name: CI
on:
push:
repository_dispatch:
schedule:
- cron: '47 11 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build the Docker image used to run application build
run: ./infra/build/build.sh ${{ secrets.ID_RSA_CONTENTS_BASE64 }} ${{ secrets.DOCKER_CONFIG_CONTENTS_BASE64 }}
env:
GIT_REPO_URL: 'git@github.com:ScottG489/machine-setup.git'
RELATIVE_SUB_DIR: 'infra/build'
DOCKER_IMAGE_NAME: 'scottg489/machine-setup-build:latest'
build_application:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v1
- name: Build and deploy
run: ./build.sh ${{ secrets.ID_RSA_CONTENTS_BASE64 }} ${{ secrets.AWS_CREDENTIALS_CONTENTS_BASE64 }} ${{ secrets.MAINKEYPAIR_CONTENTS_BASE64 }}