introduce build command, reduce serve command to serving, remove publ… #733
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: fly.io deployment | |
on: | |
push: | |
branches: ["master"] | |
env: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | |
jobs: | |
deploy-website: | |
if: github.repository_owner == 'primatejs' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Fly CLI | |
uses: superfly/flyctl-actions/setup-flyctl@master | |
- run: flyctl deploy --remote-only --no-cache -c packages/website/fly-website.toml |