Skip to content

Commit

Permalink
Update with site there.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHinsh committed Sep 11, 2024
1 parent 6905f48 commit 91fcd9f
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/close-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,26 @@ jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Download a single artifact
uses: actions/download-artifact@v4
with:
name: Site
path: ./_site

- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.NKDAGILITY_BOT_APP_ID }}
private-key: ${{ secrets.NKDAGILITY_BOT_CLIENTSECRET }}

- name: Deploy
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
action: "upload"
app_location: "/"
api_location: ""
repo_token: ${{ steps.app-token.outputs.token }}
action: 'upload'
app_location: ./_site
skip_app_build: true
skip_api_build: true
output_location: ''
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}

0 comments on commit 91fcd9f

Please sign in to comment.