Skip to content

Commit

Permalink
Update azure-static-web-apps-jolly-bush-09eb13f00.yml
Browse files Browse the repository at this point in the history
env:
          VITE_API_KEY: ${{ secrets.VITE_API_KEY }}
  • Loading branch information
zyc2339 authored Mar 19, 2024
1 parent 2813cde commit 3dad223
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,21 @@ on:
branches:
- main

jobs:
jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- name: set up env
env:
VITE_API_KEY: ${{ secrets.VITE_API_KEY }}
- uses: actions/checkout@v3
with:
submodules: true
lfs: false
- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
env:
VITE_API_KEY: ${{ secrets.VITE_API_KEY }}
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_JOLLY_BUSH_09EB13F00 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
Expand Down

0 comments on commit 3dad223

Please sign in to comment.