Skip to content

Commit

Permalink
Bugfix FXIOS-7344 [v119] Fix publish docc yml
Browse files Browse the repository at this point in the history
This time it's the right one...
  • Loading branch information
lmarceau committed Sep 18, 2023
1 parent bf054bf commit 75046ba
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish-docc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
# Runs on pushes where BrowserKit files are modified
push:
paths:
- BrowserKit/**
- BrowserKit/Sources/ComponentLibrary/**
workflow_dispatch: {} # adding the workflow_dispatch so it can be triggered manually

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
Expand All @@ -24,7 +24,8 @@ jobs:
# Must be set to this for deploying to GitHub Pages
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: macos-12
runs-on: macos-13
needs: build
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
Expand All @@ -35,8 +36,10 @@ jobs:
-destination 'generic/platform=iOS';
xcrun docc process-archive transform-for-static-hosting \
/tmp/docbuild/Build/Products/Debug-iphoneos/ComponentLibrary.doccarchive \
--hosting-base-path "firefox-ios" \
--output-path docs;
echo "<script>window.location.href += \"/documentation/componentlibrary\"</script>" > docs/index.html;
echo "Building DocC step done"
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
Expand Down

0 comments on commit 75046ba

Please sign in to comment.