Skip to content

Commit

Permalink
try1
Browse files Browse the repository at this point in the history
  • Loading branch information
nnamtug committed Feb 20, 2024
1 parent 79061f3 commit 23354ee
Showing 1 changed file with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,26 @@ on:
branches:
- main

permissions:
contents: write
pull-requests: write # this permission is required in order to allow PR comment with staging URL

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:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
lfs: false
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- run: pip install git+https://${{ secrets.MATERIAL_FOR_MKDOCS_ACCESS_TOKEN }}@github.com/squidfunk/mkdocs-material-insiders.git
- run: pip install -r requirements.txt
- run: mkdocs build
- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
Expand All @@ -28,7 +38,7 @@ jobs:
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
app_location: "" # App source code path
api_location: "" # Api source code path - optional
output_location: "site" # Built app content directory - optional
###### End of Repository/Build Configurations ######
Expand Down

0 comments on commit 23354ee

Please sign in to comment.