Skip to content

Commit

Permalink
Update publish-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramiz69 authored Apr 6, 2024
1 parent d16722d commit c0042a8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/publish-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@ permissions:
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
jobs:
deploy:
runs-on: macOS-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Build DocC
run: |
xcodebuild docbuild -scheme Slider \
-derivedDataPath /tmp/docbuild \
Expand All @@ -32,9 +33,9 @@ concurrency:
echo "<script>window.location.href += \"/documentation/slider\"</script>" > docs/index.html;
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'docs'
with:
path: 'docs'
- name: Deploy to GitHub Pages
id: deployment
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit c0042a8

Please sign in to comment.