Skip to content

Setup automation (#4) #22

Setup automation (#4)

Setup automation (#4) #22

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
Configure-GCP-Project:
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: 'google-github-actions/auth@v1'
with:
credentials_json: '${{ secrets.GCP_DEPLOYER_SA }}'
- uses: hashicorp/setup-terraform@v2
with:
terraform_version: 1.1.4
- name: Build image and push
env:
GOOGLE_CREDENTIALS: ${{ secrets.GCP_DEPLOYER_SA }}
run: |
mkdir matthewlymer.github.io/.jekyll-cache
make -C ./deploy push