Migrate to the Aparoksha gitea instance
This commit is contained in:
parent
94211b5c87
commit
60022cdd6f
@ -4,21 +4,9 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
pages: write
|
|
||||||
id-token: write
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: "pages"
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Deploy:
|
publish:
|
||||||
environment:
|
runs-on: david-macbook
|
||||||
name: github-pages
|
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
|
||||||
runs-on: macos-15
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Build Docs
|
- name: Build Docs
|
||||||
@ -36,10 +24,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "<script>window.location.href += \"/documentation/meta\"</script>" > docs/index.html;
|
echo "<script>window.location.href += \"/documentation/meta\"</script>" > docs/index.html;
|
||||||
sed -i '' 's/,2px/,10px/g' docs/css/index.*.css
|
sed -i '' 's/,2px/,10px/g' docs/css/index.*.css
|
||||||
- name: Upload Artifact
|
- name: Upload
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: wangyucode/sftp-upload-action@v2.0.2
|
||||||
with:
|
with:
|
||||||
path: 'docs'
|
host: 'volans.uberspace.de'
|
||||||
- name: Deploy to GitHub Pages
|
username: 'akforum'
|
||||||
id: deployment
|
password: ${{ secrets.password }}
|
||||||
uses: actions/deploy-pages@v4
|
localDir: 'docs'
|
||||||
|
remoteDir: '/var/www/virtual/akforum/meta.aparoksha.dev/'
|
||||||
@ -3,17 +3,17 @@ name: SwiftLint
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/swiftlint.yml'
|
- '.gitea/workflows/swiftlint.yml'
|
||||||
- '.swiftlint.yml'
|
- '.swiftlint.yml'
|
||||||
- '**/*.swift'
|
- '**/*.swift'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/swiftlint.yml'
|
- '.gitea/workflows/swiftlint.yml'
|
||||||
- '.swiftlint.yml'
|
- '.swiftlint.yml'
|
||||||
- '**/*.swift'
|
- '**/*.swift'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/swiftlint.yml'
|
- '.gitea/workflows/swiftlint.yml'
|
||||||
- '.swiftlint.yml'
|
- '.swiftlint.yml'
|
||||||
- '**/*.swift'
|
- '**/*.swift'
|
||||||
|
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -10,5 +10,4 @@ DerivedData/
|
|||||||
/Package.resolved
|
/Package.resolved
|
||||||
.Ulysses-Group.plist
|
.Ulysses-Group.plist
|
||||||
/.docc-build
|
/.docc-build
|
||||||
/io.github.AparokshaUI.Generation.json
|
|
||||||
/.vscode
|
/.vscode
|
||||||
@ -94,11 +94,6 @@ disabled_rules:
|
|||||||
|
|
||||||
# Custom Rules
|
# Custom Rules
|
||||||
custom_rules:
|
custom_rules:
|
||||||
github_issue:
|
|
||||||
name: 'GitHub Issue'
|
|
||||||
regex: '//.(TODO|FIXME):.(?!.*(https://github\.com/AparokshaUI/Meta/issues/\d))'
|
|
||||||
message: 'The related GitHub issue must be included in a TODO or FIXME.'
|
|
||||||
severity: warning
|
|
||||||
|
|
||||||
fatal_error:
|
fatal_error:
|
||||||
name: 'Fatal Error'
|
name: 'Fatal Error'
|
||||||
|
|||||||
10
README.md
10
README.md
@ -3,12 +3,12 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://aparokshaui.github.io/Meta/">
|
<a href="https://meta.aparoksha.dev/">
|
||||||
Documentation
|
Documentation
|
||||||
</a>
|
</a>
|
||||||
·
|
·
|
||||||
<a href="https://github.com/AparokshaUI/Meta">
|
<a href="https://git.aparoksha.dev/aparoksha/meta">
|
||||||
GitHub
|
Code
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ It knows the following layers of UI:
|
|||||||
- A scene element is a template for a container holding one or multiple views (e.g., a window).
|
- A scene element is a template for a container holding one or multiple views (e.g., a window).
|
||||||
- A view is a part of the actual UI inside a window, or another view.
|
- A view is a part of the actual UI inside a window, or another view.
|
||||||
|
|
||||||
Detailed information can be found in the [docs](https://aparokshaui.github.io/Meta/).
|
Detailed information can be found in the [docs](https://meta.aparoksha.dev/).
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ Follow those steps if you want to create a UI framework.
|
|||||||
2. Open the `Package.swift` file.
|
2. Open the `Package.swift` file.
|
||||||
3. Into the `Package` initializer, under `dependencies`, paste:
|
3. Into the `Package` initializer, under `dependencies`, paste:
|
||||||
```swift
|
```swift
|
||||||
.package(url: "https://github.com/AparokshaUI/Meta", from: "0.1.0")
|
.package(url: https://git.aparoksha.dev/aparoksha/meta", from: "0.1.0")
|
||||||
```
|
```
|
||||||
|
|
||||||
## Thanks
|
## Thanks
|
||||||
|
|||||||
@ -23,7 +23,7 @@ let package = Package(
|
|||||||
)
|
)
|
||||||
],
|
],
|
||||||
dependencies: [
|
dependencies: [
|
||||||
.package(url: "https://github.com/AparokshaUI/Meta", from: "0.1.0"),
|
.package(url: "https://git.aparoksha.dev/aparoksha/meta", from: "0.1.0"),
|
||||||
.package(url: "https://github.com/david-swift/TermKit", branch: "main")
|
.package(url: "https://github.com/david-swift/TermKit", branch: "main")
|
||||||
],
|
],
|
||||||
targets: [
|
targets: [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user