From e2c7f754f60c45dad0299bb4758633cf3c9918ad Mon Sep 17 00:00:00 2001 From: Adam Reese Date: Thu, 24 Aug 2023 12:03:40 -0700 Subject: [PATCH] Add deployment token to github action Signed-off-by: Adam Reese --- .github/workflows/deploy.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9f27492..138e0b8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -35,16 +35,16 @@ jobs: version: v1.4.1 - name: Login to Fermyon Cloud - run: spin cloud login --token "${{ secrets.FERMYAPPS_CLOUD_TOKEN }}" + run: spin cloud login --token "${{ secrets.FERMYON_CLOUD_TOKEN }}" + + - name: Deploy to Fermyon Cloud + uses: fermyon/actions/spin/deploy@v1 + with: + run_build: false + fermyon_token: "${{ secrets.FERMYON_CLOUD_TOKEN }}" - name: Run sqlite migration(s) run: | # NOTE: workaround for not being able to use 'default' as the database name SQLITE_DB_NAME="$(spin cloud sqlite list | grep 'default' | cut -d ' ' -f1)" spin cloud sqlite execute "$SQLITE_DB_NAME" "@highscore/migration.sql" - - - name: Deploy to Fermyon Cloud - uses: fermyon/actions/spin/deploy@v1 - with: - run_build: false - fermyon_token: "${{ secrets.FERMYAPPS_CLOUD_TOKEN }}" \ No newline at end of file