Skip to content

Commit

Permalink
Move the build out of the Azure static site deploy.
Browse files Browse the repository at this point in the history
  • Loading branch information
imcbride committed Jan 18, 2024
1 parent e89a584 commit 0f20abd
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ jobs:
run: gem install jekyll
- name: Install Dependencies
run: bundle install --jobs 4 --retry 3
- name: NPM Install
run: npm install
- name: NPM Build
run: npm run build
env:
JEKYLL_ENV: production
- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
Expand All @@ -39,12 +45,9 @@ 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
api_location: "" # Api source code path - optional
output_location: "_site" # Built app content directory - optional
app_location: "/_site" # App source code path
skip_app_build: true
###### End of Repository/Build Configurations ######
env:
JEKYLL_ENV: production

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
Expand Down

0 comments on commit 0f20abd

Please sign in to comment.