Skip to content

oops forgot to commit these too #52

oops forgot to commit these too

oops forgot to commit these too #52

name: Build and Push Container
on:
push:
paths:
- 'atb-web/**'
- '.github/workflows/build-push-container.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build and push Docker image
uses: macbre/push-to-ghcr@master
with:
dockerfile: atb-web.Containerfile
context: .
github_token: ${{ secrets.GITHUB_TOKEN }}
image_name: ${{ github.repository }}/atb-web
deploy:
name: Deploy web app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
needs:
- build