Merge pull request #21 from serenity-kit/add-logging-configuration #26
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 API" | |
on: | |
push: | |
branches: | |
- main | |
- backend-fixes | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 # needed until 18 becomes the default | |
with: | |
node-version: 18 | |
cache: yarn | |
- name: Build | |
working-directory: ./examples/backend | |
run: yarn build | |
- uses: superfly/flyctl-actions/setup-flyctl@master | |
- run: flyctl deploy --remote-only ./examples/backend | |
env: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} |