Skip to content

server

server #27

Workflow file for this run

name: server
on:
push:
paths:
- 'build/**'
- '!**.md'
pull_request:
paths:
- 'build/**'
- '!**.md'
workflow_dispatch:
schedule:
- cron: '9 21 7 * *'
jobs:
server-image:
runs-on: ubuntu-latest
defaults:
run:
working-directory: build
steps:
- uses: actions/checkout@v3
- run: sudo make .gha-environment
- run: sudo make image
- if: github.ref == 'refs/heads/terraform'
run: make upload
env:
S3_BUCKET: ${{ secrets.S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}