Skip to content

Commit

Permalink
Update deploy-docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LiarOnce authored Jul 10, 2024
1 parent adb2a1f commit 79381b2
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -47,4 +47,25 @@ jobs:
with:
branch: pages
folder: docs/.vitepress/dist


deploy-azure:
runs-on: ubuntu-latest
name: Deploy to azure
steps:
- uses: actions/checkout@v4
with:
ref: pages

- name: Package And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_LEMON_CLIFF_0F2544E00 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "./" # App source code path
api_location: "" # Api source code path - optional
output_location: "." # Built app content directory - optional
###### End of Repository/Build Configurations ######

0 comments on commit 79381b2

Please sign in to comment.