Skip to content

Commit

Permalink
Use FIFTHTRY_SITE_WRITE_TOKEN for fastn.com deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantk232 authored and amitu committed Nov 12, 2024
1 parent f26903a commit 1c429bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-fastn-com.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ on:
push:
branches: [ main ]

permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout

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:
Expand All @@ -20,4 +19,5 @@ jobs:
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

0 comments on commit 1c429bb

Please sign in to comment.