create simple http interface to global brain service (#65) #92
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-22.04 # https://github.com/actions/runner-images?tab=readme-ov-file#available-images | |
env: | |
EARTHLY_TOKEN: ${{ secrets.EARTHLY_TOKEN }} | |
EARTHLY_SATELLITE: ${{ secrets.EARTHLY_SATELLITE }} | |
EARTHLY_ORG: ${{ secrets.EARTHLY_ORG }} | |
EARTHLY_CI: true | |
GITHUB_ACTIONS: true # Better earthly outputs in github actions | |
FORCE_COLOR: 1 | |
steps: | |
- uses: earthly/actions-setup@v1 | |
with: | |
version: v0.8.10 | |
- uses: actions/checkout@v4 | |
- name: Run build | |
run: earthly --output +ci-deploy | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: app/dist | |
clean: true # keep old files if not overridden | |
single-commit: true # don't keep history |