Skip to content

ci: add Azure Static Web Apps workflow file #2

ci: add Azure Static Web Apps workflow file

ci: add Azure Static Web Apps workflow file #2

Workflow file for this run

name: Deploy Image Carousel to Azure
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Deploy to Azure Static Web App
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_NEW }} # New token for new app service
repository_token: ${{ secrets.GITHUB_TOKEN }}
app_location: "/" # Your static files are located at the root of the repository
output_location: "/" # No build, so use the root as the output directory