Skip to content

Commit 0a88f88

Browse files
committed
Remove documentation deployment from release workflow
1 parent e1633ca commit 0a88f88

File tree

1 file changed

+0
-42
lines changed

1 file changed

+0
-42
lines changed

.github/workflows/release.yml

-42
Original file line numberDiff line numberDiff line change
@@ -5,54 +5,12 @@ on:
55
tags:
66
- '*'
77

8-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
98
permissions:
109
contents: write
11-
pages: write
12-
id-token: write
13-
14-
# Allow only one concurrent deployment
15-
concurrency:
16-
group: "pages"
17-
cancel-in-progress: true
1810

1911
jobs:
20-
deploy_docs:
21-
runs-on: macos-13
22-
environment:
23-
name: github-pages
24-
url: ${{ steps.deployment.outputs.page_url }}
25-
26-
steps:
27-
- uses: actions/checkout@v4
28-
29-
- name: Select Xcode 15.2
30-
run: sudo xcode-select -s /Applications/Xcode_15.2.app
31-
32-
- name: Build Documentation
33-
run: |
34-
swift package --allow-writing-to-directory ./docs \
35-
generate-documentation --target GroqSwift \
36-
--disable-indexing \
37-
--transform-for-static-hosting \
38-
--hosting-base-path groq_swift \
39-
--output-path ./docs
40-
41-
- name: Setup Pages
42-
uses: actions/configure-pages@v4
43-
44-
- name: Upload artifact
45-
uses: actions/upload-pages-artifact@v3
46-
with:
47-
path: './docs'
48-
49-
- name: Deploy to GitHub Pages
50-
id: deployment
51-
uses: actions/deploy-pages@v4
52-
5312
create_release:
5413
runs-on: ubuntu-latest
55-
needs: deploy_docs
5614
steps:
5715
- uses: actions/checkout@v4
5816

0 commit comments

Comments
 (0)