Skip to content

Fix(CI): Remove .gitignore before fastn upload #7

Fix(CI): Remove .gitignore before fastn upload

Fix(CI): Remove .gitignore before fastn upload #7

name: Deploy fastn.com
on:
workflow_dispatch:
push:
branches: [ main ]
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
jobs:
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"
fastn upload fastn >> $GITHUB_STEP_SUMMARY