Skip to content

Commit

Permalink
Update publish_pages
Browse files Browse the repository at this point in the history
  • Loading branch information
nik3212 committed Apr 30, 2024
1 parent 5141e3f commit c6dcbc5
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 24 deletions.
11 changes: 5 additions & 6 deletions .github/actions/publish_pages/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ inputs:
runs:
steps:
- name: Build DocC
shell: bash
run: |
swift build;
swift package \
Expand All @@ -21,12 +20,12 @@ runs:
--output-path ./docs \
--transform-for-static-hosting \
--hosting-base-path ${{ inputs.base_path }};
- name: Upload artifact
shell: bash
uses: actions/upload-pages-artifact@v1
with:
path: 'docs'
uses: actions/upload-artifact@v2
with:
path: docs

- name: Deploy to GitHub Pages
shell: bash
id: deployment
uses: actions/deploy-pages@v1
18 changes: 9 additions & 9 deletions .github/workflows/flare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ on:
branches:
- main
- dev
pull_request:
paths:
- '.swiftlint.yml'
- ".github/workflows/**"
- "Package@swift-5.7.swift"
- "Package@swift-5.8.swift"
- "Package.swift"
- "Source/Flare/**"
- "Tests/**"
# pull_request:
# paths:
# - '.swiftlint.yml'
# - ".github/workflows/**"
# - "Package@swift-5.7.swift"
# - "Package@swift-5.8.swift"
# - "Package.swift"
# - "Source/Flare/**"
# - "Tests/**"

jobs:
macOS:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/flare_ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ on:
branches:
- main
- dev
pull_request:
paths:
- '.swiftlint.yml'
- ".github/workflows/**"
- "Package@swift-5.7.swift"
- "Package@swift-5.8.swift"
- "Package.swift"
- "Source/FlareUI/**"
- "Tests/FlareUITests/**"
# pull_request:
# paths:
# - '.swiftlint.yml'
# - ".github/workflows/**"
# - "Package@swift-5.7.swift"
# - "Package@swift-5.8.swift"
# - "Package.swift"
# - "Source/FlareUI/**"
# - "Tests/FlareUITests/**"

jobs:
macOS:
Expand Down

0 comments on commit c6dcbc5

Please sign in to comment.