adnus 0.2.4__tar.gz → 0.2.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. {adnus-0.2.4 → adnus-0.2.5}/.github/workflows/ci-cd.yml +1 -1
  2. adnus-0.2.5/.github/workflows/dependabot-auto-merge.yml +21 -0
  3. adnus-0.2.5/.github/workflows/deploy.yml +50 -0
  4. {adnus-0.2.4 → adnus-0.2.5}/.github/workflows/jekyll-gh-pages.yml +1 -1
  5. {adnus-0.2.4 → adnus-0.2.5}/.github/workflows/pixi-workflow.yml +3 -3
  6. {adnus-0.2.4 → adnus-0.2.5}/.github/workflows/python-publish.yml +1 -1
  7. {adnus-0.2.4 → adnus-0.2.5}/.github/workflows/workflow.yml +1 -1
  8. {adnus-0.2.4 → adnus-0.2.5}/.github/workflows/zizmor.yml +3 -3
  9. {adnus-0.2.4 → adnus-0.2.5}/CITATION.cff +1 -3
  10. {adnus-0.2.4 → adnus-0.2.5}/PKG-INFO +1 -7
  11. {adnus-0.2.4 → adnus-0.2.5}/README.md +0 -6
  12. {adnus-0.2.4 → adnus-0.2.5}/adnus/__init__.py +1 -1
  13. {adnus-0.2.4 → adnus-0.2.5}/adnus/_version.py +1 -1
  14. {adnus-0.2.4 → adnus-0.2.5}/adnus.egg-info/PKG-INFO +1 -7
  15. {adnus-0.2.4 → adnus-0.2.5}/adnus.egg-info/SOURCES.txt +3 -1
  16. {adnus-0.2.4 → adnus-0.2.5}/conda-recipe/meta.yaml +1 -1
  17. adnus-0.2.5/myst.yml +15 -0
  18. {adnus-0.2.4 → adnus-0.2.5}/pixi.toml +2 -2
  19. {adnus-0.2.4 → adnus-0.2.5}/pyproject.toml +1 -1
  20. {adnus-0.2.4 → adnus-0.2.5}/recipe.yaml +2 -2
  21. adnus-0.2.4/.github/workflows/static.yml +0 -58
  22. {adnus-0.2.4 → adnus-0.2.5}/.gitattributes +0 -0
  23. {adnus-0.2.4 → adnus-0.2.5}/.github/CODEOWNERS +0 -0
  24. {adnus-0.2.4 → adnus-0.2.5}/.github/dependabot.yml +0 -0
  25. {adnus-0.2.4 → adnus-0.2.5}/.github/workflows/codeql.yml +0 -0
  26. {adnus-0.2.4 → adnus-0.2.5}/.github/workflows/conda-publish.yml +0 -0
  27. {adnus-0.2.4 → adnus-0.2.5}/.github/workflows/lint.yml +0 -0
  28. {adnus-0.2.4 → adnus-0.2.5}/.github/workflows/python-package.yml +0 -0
  29. {adnus-0.2.4 → adnus-0.2.5}/.github/workflows/python_ci.yml +0 -0
  30. {adnus-0.2.4 → adnus-0.2.5}/.github/workflows/zenodo.yml +0 -0
  31. {adnus-0.2.4 → adnus-0.2.5}/.gitignore +0 -0
  32. {adnus-0.2.4 → adnus-0.2.5}/.pre-commit-config.yaml +0 -0
  33. {adnus-0.2.4 → adnus-0.2.5}/.readthedocs.yaml +0 -0
  34. {adnus-0.2.4 → adnus-0.2.5}/.ruff.toml +0 -0
  35. {adnus-0.2.4 → adnus-0.2.5}/.zenodo.json +0 -0
  36. {adnus-0.2.4 → adnus-0.2.5}/CODE_OF_CONDUCT.md +0 -0
  37. {adnus-0.2.4 → adnus-0.2.5}/CONTRIBUTING.md +0 -0
  38. {adnus-0.2.4 → adnus-0.2.5}/LICENSE +0 -0
  39. {adnus-0.2.4 → adnus-0.2.5}/MANIFEST.in +0 -0
  40. {adnus-0.2.4 → adnus-0.2.5}/SECURITY.md +0 -0
  41. {adnus-0.2.4 → adnus-0.2.5}/adnus/adnus.py +0 -0
  42. {adnus-0.2.4 → adnus-0.2.5}/adnus.egg-info/dependency_links.txt +0 -0
  43. {adnus-0.2.4 → adnus-0.2.5}/adnus.egg-info/requires.txt +0 -0
  44. {adnus-0.2.4 → adnus-0.2.5}/adnus.egg-info/top_level.txt +0 -0
  45. {adnus-0.2.4 → adnus-0.2.5}/conda_build_config.yaml +0 -0
  46. {adnus-0.2.4 → adnus-0.2.5}/docs/adnus.png +0 -0
  47. {adnus-0.2.4 → adnus-0.2.5}/docs/conf.py +0 -0
  48. {adnus-0.2.4 → adnus-0.2.5}/docs/favicon.ico +0 -0
  49. {adnus-0.2.4 → adnus-0.2.5}/docs/index.rst +0 -0
  50. {adnus-0.2.4 → adnus-0.2.5}/docs/requirements.txt +0 -0
  51. {adnus-0.2.4 → adnus-0.2.5}/notebook/adnus-020.ipynb +0 -0
  52. {adnus-0.2.4 → adnus-0.2.5}/requirements-dev.txt +0 -0
  53. {adnus-0.2.4 → adnus-0.2.5}/requirements.txt +0 -0
  54. {adnus-0.2.4 → adnus-0.2.5}/setup.cfg +0 -0
  55. {adnus-0.2.4 → adnus-0.2.5}/setup.py +0 -0
  56. {adnus-0.2.4 → adnus-0.2.5}/tests/test_adnus.py +0 -0
  57. {adnus-0.2.4 → adnus-0.2.5}/tox.ini +0 -0
  58. {adnus-0.2.4 → adnus-0.2.5}/tox.toml +0 -0
@@ -34,5 +34,5 @@ jobs:
34
34
  run: python -m build
35
35
 
36
36
  - name: Publish to PyPI
37
- uses: pypa/gh-action-pypi-publish@v1.14.2
37
+ uses: pypa/gh-action-pypi-publish@v1.14.3
38
38
 
@@ -0,0 +1,21 @@
1
+ name: Dependabot auto-merge
2
+
3
+ on:
4
+ pull_request_target:
5
+ types: [opened, synchronize, reopened]
6
+
7
+ permissions:
8
+ contents: write
9
+ pull-requests: write
10
+
11
+ jobs:
12
+ auto-merge:
13
+ if: github.actor == 'dependabot[bot]'
14
+ runs-on: ubuntu-latest
15
+
16
+ steps:
17
+ - name: Enable auto-merge
18
+ run: gh pr merge --auto --squash "$PR_URL"
19
+ env:
20
+ PR_URL: ${{ github.event.pull_request.html_url }}
21
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,50 @@
1
+ name: Deploy MyST site
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+
7
+ permissions:
8
+ contents: read
9
+ pages: write
10
+ id-token: write
11
+
12
+ concurrency:
13
+ group: pages
14
+ cancel-in-progress: false
15
+
16
+ jobs:
17
+ deploy:
18
+ environment:
19
+ name: github-pages
20
+ url: ${{ steps.deployment.outputs.page_url }}
21
+ runs-on: ubuntu-latest
22
+
23
+ env:
24
+ BASE_URL: /${{ github.event.repository.name }}
25
+
26
+ steps:
27
+ - uses: actions/checkout@v7
28
+
29
+ - name: Configure GitHub Pages
30
+ uses: actions/configure-pages@v6
31
+
32
+ - name: Set up Node.js
33
+ uses: actions/setup-node@v7
34
+ with:
35
+ node-version: 24
36
+
37
+ - name: Install MyST
38
+ run: npm install --global mystmd
39
+
40
+ - name: Build site
41
+ run: myst build --html
42
+
43
+ - name: Upload site
44
+ uses: actions/upload-pages-artifact@v5
45
+ with:
46
+ path: ./_build/html
47
+
48
+ - name: Deploy to GitHub Pages
49
+ id: deployment
50
+ uses: actions/deploy-pages@v5
@@ -34,5 +34,5 @@ jobs:
34
34
  run: python -m build
35
35
 
36
36
  - name: Publish to PyPI
37
- uses: pypa/gh-action-pypi-publish@v1.14.2
37
+ uses: pypa/gh-action-pypi-publish@v1.14.3
38
38
 
@@ -20,15 +20,15 @@ jobs:
20
20
 
21
21
  steps:
22
22
  - name: 📥 Checkout code
23
- uses: actions/checkout@v7.0.1
23
+ uses: actions/checkout@v7
24
24
 
25
25
  - name: 🐍 Set up Python ${{ matrix.python-version }}
26
- uses: actions/setup-python@v6
26
+ uses: actions/setup-python@v7
27
27
  with:
28
28
  python-version: ${{ matrix.python-version }}
29
29
 
30
30
  - name: 🚀 Install Pixi
31
- uses: prefix-dev/setup-pixi@v0.10.2
31
+ uses: prefix-dev/setup-pixi@v0.11.3
32
32
  with:
33
33
  pixi-version: "latest"
34
34
  cache: false # Önbellek çakışmasını engeller
@@ -34,5 +34,5 @@ jobs:
34
34
  run: python -m build
35
35
 
36
36
  - name: Publish to PyPI
37
- uses: pypa/gh-action-pypi-publish@v1.14.2
37
+ uses: pypa/gh-action-pypi-publish@v1.14.3
38
38
 
@@ -34,4 +34,4 @@ jobs:
34
34
  run: python -m build
35
35
 
36
36
  - name: Publish to PyPI
37
- uses: pypa/gh-action-pypi-publish@v1.14.2
37
+ uses: pypa/gh-action-pypi-publish@v1.14.3
@@ -20,12 +20,12 @@ jobs:
20
20
  actions: read
21
21
  steps:
22
22
  - name: Checkout repository
23
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
23
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
24
24
  with:
25
25
  persist-credentials: false
26
26
 
27
27
  - name: Install the latest version of uv
28
- uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
28
+ uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
29
29
 
30
30
  - name: Run zizmor 🌈
31
31
  run: |
@@ -44,7 +44,7 @@ jobs:
44
44
  echo "SARIF file size: $(wc -c < results.sarif) bytes"
45
45
 
46
46
  - name: Upload SARIF file
47
- uses: github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
47
+ uses: github/codeql-action/upload-sarif@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4
48
48
  with:
49
49
  sarif_file: results.sarif
50
50
  category: zizmor
@@ -19,8 +19,6 @@ identifiers:
19
19
  value: 10.5281/zenodo.16341919
20
20
  - type: doi
21
21
  value: 10.48546/workflowhub.datafile.23.1
22
- - type: doi
23
- value: 10.6084/m9.figshare.29621336
24
22
  - type: doi
25
23
  value: 10.17605/OSF.IO/9C26Y
26
24
  repository-code: 'https://github.com/WhiteSymmetry/adnus'
@@ -33,5 +31,5 @@ keywords:
33
31
  - adnus
34
32
  license: AGPL-3.0-or-later
35
33
  commit: 'Revision: 1'
36
- version: 0.2.4
34
+ version: 0.2.5
37
35
  date-released: '2025-07-12'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: adnus
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: A Python library for Advanced Number Systems (AdNuS), including Bicomplex, Neutrosophic, Hyperreal numbers, reals, Complex, Quaternion, Octonion, Sedenion, Pathion, Chingon, Routon, Voudon.
5
5
  Home-page: https://github.com/WhiteSymmetry/adnus
6
6
  Author: Mehmet Keçeci
@@ -701,8 +701,6 @@ Dynamic: requires-python
701
701
 
702
702
  [![WorkflowHub DOI](https://img.shields.io/badge/DOI-10.48546/workflowhub.datafile.23.1-blue)](https://doi.org/10.48546/workflowhub.datafile.23.1)
703
703
 
704
- [![figshare DOI](https://img.shields.io/badge/DOI-10.6084/m9.figshare.29621336-blue)](https://doi.org/10.6084/m9.figshare.29621336)
705
-
706
704
  [![OSF DOI](https://img.shields.io/badge/DOI-10.17605/OSF.IO/9C26Y-blue)](https://doi.org/10.17605/OSF.IO/9C26Y)
707
705
 
708
706
  [![Anaconda-Server Badge](https://anaconda.org/bilgi/adnus/badges/version.svg)](https://anaconda.org/bilgi/adnus)
@@ -926,8 +924,6 @@ Keçeci, M. (2025). adnus [Data set]. ResearchGate. https://doi.org/
926
924
 
927
925
  Keçeci, M. (2025). adnus [Data set]. OSF. https://doi.org/10.17605/OSF.IO/9C26Y
928
926
 
929
- Keçeci, M. (2025). adnus [Data set]. figshare. https://doi.org/10.6084/m9.figshare.29621336
930
-
931
927
  Keçeci, M. (2025). adnus [Data set]. WorkflowHub. https://doi.org/10.48546/workflowhub.datafile.23.1
932
928
 
933
929
  Keçeci, M. (2025). adnus. Open Science Articles (OSAs), Zenodo. https://doi.org/10.5281/zenodo.16341919
@@ -941,8 +937,6 @@ Keçeci, M. (2025). adnus. Open Science Articles (OSAs), Zenodo. https://doi.org
941
937
 
942
938
  Keçeci, Mehmet. adnus [Data set]. ResearchGate, 2025. https://doi.org/
943
939
 
944
- Keçeci, M. (2025). adnus [Data set]. figshare. https://doi.org/10.6084/m9.figshare.29621336
945
-
946
940
  Keçeci, Mehmet. adnus [Data set]. WorkflowHub, 2025. https://doi.org/10.48546/workflowhub.datafile.23.1
947
941
 
948
942
  Keçeci, Mehmet. adnus. Open Science Articles (OSAs), Zenodo, 2025. https://doi.org/10.5281/zenodo.16341919
@@ -11,8 +11,6 @@
11
11
 
12
12
  [![WorkflowHub DOI](https://img.shields.io/badge/DOI-10.48546/workflowhub.datafile.23.1-blue)](https://doi.org/10.48546/workflowhub.datafile.23.1)
13
13
 
14
- [![figshare DOI](https://img.shields.io/badge/DOI-10.6084/m9.figshare.29621336-blue)](https://doi.org/10.6084/m9.figshare.29621336)
15
-
16
14
  [![OSF DOI](https://img.shields.io/badge/DOI-10.17605/OSF.IO/9C26Y-blue)](https://doi.org/10.17605/OSF.IO/9C26Y)
17
15
 
18
16
  [![Anaconda-Server Badge](https://anaconda.org/bilgi/adnus/badges/version.svg)](https://anaconda.org/bilgi/adnus)
@@ -236,8 +234,6 @@ Keçeci, M. (2025). adnus [Data set]. ResearchGate. https://doi.org/
236
234
 
237
235
  Keçeci, M. (2025). adnus [Data set]. OSF. https://doi.org/10.17605/OSF.IO/9C26Y
238
236
 
239
- Keçeci, M. (2025). adnus [Data set]. figshare. https://doi.org/10.6084/m9.figshare.29621336
240
-
241
237
  Keçeci, M. (2025). adnus [Data set]. WorkflowHub. https://doi.org/10.48546/workflowhub.datafile.23.1
242
238
 
243
239
  Keçeci, M. (2025). adnus. Open Science Articles (OSAs), Zenodo. https://doi.org/10.5281/zenodo.16341919
@@ -251,8 +247,6 @@ Keçeci, M. (2025). adnus. Open Science Articles (OSAs), Zenodo. https://doi.org
251
247
 
252
248
  Keçeci, Mehmet. adnus [Data set]. ResearchGate, 2025. https://doi.org/
253
249
 
254
- Keçeci, M. (2025). adnus [Data set]. figshare. https://doi.org/10.6084/m9.figshare.29621336
255
-
256
250
  Keçeci, Mehmet. adnus [Data set]. WorkflowHub, 2025. https://doi.org/10.48546/workflowhub.datafile.23.1
257
251
 
258
252
  Keçeci, Mehmet. adnus. Open Science Articles (OSAs), Zenodo, 2025. https://doi.org/10.5281/zenodo.16341919
@@ -28,7 +28,7 @@ Example Usage:
28
28
  """
29
29
 
30
30
  # Core version information
31
- __version__ = "0.2.4"
31
+ __version__ = "0.2.5"
32
32
  __author__ = "Mehmet Keçeci"
33
33
  __license__ = "AGPL-3.0-or-later"
34
34
  __copyright__ = "Copyright (C) 2025-2026 Mehmet Keçeci"
@@ -1,6 +1,6 @@
1
1
  # _version.py
2
2
 
3
- __version__ = "0.2.4"
3
+ __version__ = "0.2.5"
4
4
  __license__ = "AGPL-3.0-or-later"
5
5
  __description__ = "adnus (AdNuS): Advanced Number Systems."
6
6
  __author__ = "Mehmet Keçeci"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: adnus
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: A Python library for Advanced Number Systems (AdNuS), including Bicomplex, Neutrosophic, Hyperreal numbers, reals, Complex, Quaternion, Octonion, Sedenion, Pathion, Chingon, Routon, Voudon.
5
5
  Home-page: https://github.com/WhiteSymmetry/adnus
6
6
  Author: Mehmet Keçeci
@@ -701,8 +701,6 @@ Dynamic: requires-python
701
701
 
702
702
  [![WorkflowHub DOI](https://img.shields.io/badge/DOI-10.48546/workflowhub.datafile.23.1-blue)](https://doi.org/10.48546/workflowhub.datafile.23.1)
703
703
 
704
- [![figshare DOI](https://img.shields.io/badge/DOI-10.6084/m9.figshare.29621336-blue)](https://doi.org/10.6084/m9.figshare.29621336)
705
-
706
704
  [![OSF DOI](https://img.shields.io/badge/DOI-10.17605/OSF.IO/9C26Y-blue)](https://doi.org/10.17605/OSF.IO/9C26Y)
707
705
 
708
706
  [![Anaconda-Server Badge](https://anaconda.org/bilgi/adnus/badges/version.svg)](https://anaconda.org/bilgi/adnus)
@@ -926,8 +924,6 @@ Keçeci, M. (2025). adnus [Data set]. ResearchGate. https://doi.org/
926
924
 
927
925
  Keçeci, M. (2025). adnus [Data set]. OSF. https://doi.org/10.17605/OSF.IO/9C26Y
928
926
 
929
- Keçeci, M. (2025). adnus [Data set]. figshare. https://doi.org/10.6084/m9.figshare.29621336
930
-
931
927
  Keçeci, M. (2025). adnus [Data set]. WorkflowHub. https://doi.org/10.48546/workflowhub.datafile.23.1
932
928
 
933
929
  Keçeci, M. (2025). adnus. Open Science Articles (OSAs), Zenodo. https://doi.org/10.5281/zenodo.16341919
@@ -941,8 +937,6 @@ Keçeci, M. (2025). adnus. Open Science Articles (OSAs), Zenodo. https://doi.org
941
937
 
942
938
  Keçeci, Mehmet. adnus [Data set]. ResearchGate, 2025. https://doi.org/
943
939
 
944
- Keçeci, M. (2025). adnus [Data set]. figshare. https://doi.org/10.6084/m9.figshare.29621336
945
-
946
940
  Keçeci, Mehmet. adnus [Data set]. WorkflowHub, 2025. https://doi.org/10.48546/workflowhub.datafile.23.1
947
941
 
948
942
  Keçeci, Mehmet. adnus. Open Science Articles (OSAs), Zenodo, 2025. https://doi.org/10.5281/zenodo.16341919
@@ -12,6 +12,7 @@ MANIFEST.in
12
12
  README.md
13
13
  SECURITY.md
14
14
  conda_build_config.yaml
15
+ myst.yml
15
16
  pixi.toml
16
17
  pyproject.toml
17
18
  recipe.yaml
@@ -26,13 +27,14 @@ tox.toml
26
27
  .github/workflows/ci-cd.yml
27
28
  .github/workflows/codeql.yml
28
29
  .github/workflows/conda-publish.yml
30
+ .github/workflows/dependabot-auto-merge.yml
31
+ .github/workflows/deploy.yml
29
32
  .github/workflows/jekyll-gh-pages.yml
30
33
  .github/workflows/lint.yml
31
34
  .github/workflows/pixi-workflow.yml
32
35
  .github/workflows/python-package.yml
33
36
  .github/workflows/python-publish.yml
34
37
  .github/workflows/python_ci.yml
35
- .github/workflows/static.yml
36
38
  .github/workflows/workflow.yml
37
39
  .github/workflows/zenodo.yml
38
40
  .github/workflows/zizmor.yml
@@ -1,4 +1,4 @@
1
- {% set version = "0.2.4" %}
1
+ {% set version = "0.2.5" %}
2
2
 
3
3
  package:
4
4
  name: adnus
adnus-0.2.5/myst.yml ADDED
@@ -0,0 +1,15 @@
1
+ # See docs at: https://mystmd.org/guide/frontmatter
2
+ version: 1
3
+ project:
4
+ id: c54a8c8e-c3f5-4627-8390-67c9064549bb
5
+ title: adnus
6
+ description: "adnus (AdNuS): Advanced Number Systems"
7
+ keywords: [adnus]
8
+ authors: [Mehmet Keçeci]
9
+ github: https://github.com/WhiteSymmetry/adnus
10
+ # To autogenerate a Table of Contents, run "jupyter book init --write-toc"
11
+ site:
12
+ template: book-theme
13
+ options:
14
+ favicon: docs/favicon.ico
15
+ logo: docs/logo.png
@@ -4,11 +4,11 @@ authors = ["Mehmet Keçeci <enfo@tuta.io>"]
4
4
  channels = ["https://prefix.dev/bilgi", "bilgi", "pypi", "https://prefix.dev/conda-forge", "https://conda.modular.com/max-nightly", "conda-forge", "https://repo.prefix.dev/modular-community"]
5
5
  platforms = ["linux-64"]
6
6
  name = "adnus"
7
- version = "0.2.40"
7
+ version = "0.2.5"
8
8
 
9
9
  [package]
10
10
  name = "adnus"
11
- version = "0.2.40"
11
+ version = "0.2.5"
12
12
  license = "AGPL-3.0-or-later"
13
13
 
14
14
  [dependencies]
@@ -1,7 +1,7 @@
1
1
  # pyproject.toml
2
2
  [project]
3
3
  name = "adnus"
4
- version = "0.2.4"
4
+ version = "0.2.5"
5
5
  description = "A Python library for Advanced Number Systems (AdNuS), including Bicomplex, Neutrosophic, Hyperreal numbers, reals, Complex, Quaternion, Octonion, Sedenion, Pathion, Chingon, Routon, Voudon."
6
6
  authors = [
7
7
  {name = "Mehmet Keçeci", email = "enfo@tuta.io"}
@@ -4,13 +4,13 @@ schema_version: 1
4
4
  # this sets up "context variables" (in this case name and version) that
5
5
  # can later be used in Jinja expressions
6
6
  context:
7
- version: 0.2.40
7
+ version: 0.2.5
8
8
  name: adnus
9
9
 
10
10
  # top level package information (name and version)
11
11
  package:
12
12
  name: adnus
13
- version: 0.2.40
13
+ version: 0.2.5
14
14
 
15
15
  # location to get the source from
16
16
  #`source` are `url`, `sha256`, `md5`, `patches`, `file_name` and `target_directory`
@@ -1,58 +0,0 @@
1
- # Workflow for deploying static content to GitHub Pages
2
- name: Deploy static content to Pages
3
-
4
- on:
5
- push:
6
- branches: ["main"]
7
- workflow_dispatch:
8
-
9
- # Set permissions for GitHub Pages deployment
10
- permissions:
11
- contents: read
12
- pages: write
13
- id-token: write
14
-
15
- # Limit to one concurrent deployment
16
- concurrency:
17
- group: "pages"
18
- cancel-in-progress: false
19
-
20
- jobs:
21
- # Build and deploy job
22
- deploy:
23
- environment:
24
- name: github-pages
25
- url: ${{ steps.deployment.outputs.page_url }}
26
- runs-on: ubuntu-latest
27
- steps:
28
- - name: Check out the repository
29
- uses: actions/checkout@v7
30
-
31
- - name: Set up Node.js
32
- uses: actions/setup-node@v7
33
- with:
34
- node-version: '20'
35
-
36
- - name: Cache node_modules
37
- uses: actions/cache@v6
38
- with:
39
- path: node_modules
40
- key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
41
- restore-keys: |
42
- ${{ runner.os }}-node-
43
-
44
- - name: Build static content
45
- run: npm run build
46
-
47
- - name: Configure GitHub Pages
48
- uses: actions/configure-pages@v6
49
-
50
- - name: Upload static content artifact
51
- uses: actions/upload-pages-artifact@v5
52
- with:
53
- path: './dist' # Uygunsa build çıktısı dizininizi buraya yazın (örneğin: public, build, dist)
54
-
55
- - name: Deploy to GitHub Pages
56
- id: deployment
57
- uses: actions/deploy-pages@v5
58
-
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes