Skip to content

Cargo fmt

Cargo fmt #24

name: Deploy fastn.com

Check failure on line 1 in .github/workflows/deploy-fastn-com.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-fastn-com.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: env
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- 'fastn.com/**'
- '.github/workflows/deploy-fastn-com.yml'
jobs:
env:
# https://docs.github.com/en/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions
FIFTHTRY_SITE_WRITE_TOKEN: ${{ secrets.FIFTHTRY_SITE_WRITE_TOKEN }}
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: source <(curl -fsSL https://fastn.com/install.sh)
- run: |
# TODO: remove below line when https://github.com/FifthTry/dotcom/issues/361 is done
rm .gitignore # so that `fastn upload` uploads .packages/ too
cd fastn.com
echo "Using $(fastn --version) to upload fastn.com to FifthTry"
# Requires FIFTHTRY_SITE_WRITE_TOKEN to be set
fastn upload fastn >> $GITHUB_STEP_SUMMARY