Skip to content

Commit

Permalink
Separate deploy step
Browse files Browse the repository at this point in the history
  • Loading branch information
akaDuality committed Dec 17, 2023
1 parent 7403074 commit 26c6adb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/update_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ env:
DERIVED_DATA_PATH: './DerivedData/'
DESTINATION: 'generic/platform=iOS'
HOSTING_BASE_PATH: 'AccessibilityDocumentation'
OUTPUT_URL: 'https://vodgroup.github.io/AccessibilityDocumentation/documentation/accessibilitydocumentation/'

jobs:
update-docs:
Expand Down Expand Up @@ -52,6 +53,15 @@ jobs:
with:
path: ../docs

deploy:
needs: update-docs

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: 'macos-13'
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
Expand Down

0 comments on commit 26c6adb

Please sign in to comment.