Skip to content

CI

CI #386

Workflow file for this run

name: CI
on:
push:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: '40 8 * * 0'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build and deploy
run: ./infra/build/build.sh ${{ secrets.ID_RSA_CONTENTS_BASE64 }} ${{ secrets.DOCKER_CONFIG_CONTENTS_BASE64 }}
env:
GIT_REPO_URL: '[email protected]:ScottG489/conjob.git'
RELATIVE_SUB_DIR: 'infra/build'
DOCKER_IMAGE_NAME: 'scottg489/conjob-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.DOCKER_CONFIG_CONTENTS_BASE64 }} \
${{ secrets.AWS_CREDENTIALS_CONTENTS_BASE64 }} \
${{ secrets.MAINKEYPAIR_CONTENTS_BASE64 }} \
${{ secrets.ADMIN_USERNAME }} \
${{ secrets.ADMIN_PASSWORD }} \
${{ secrets.DOCKER_USERNAME }} \
${{ secrets.DOCKER_PASSWORD }} \
${{ secrets.KEYSTORE_PASSWORD }}