Skip to content

Commit 5b89489

Browse files
committed
Merge branch 'main' into case-studies
2 parents 0510719 + 2419098 commit 5b89489

2 files changed

Lines changed: 29 additions & 13 deletions

File tree

.github/workflows/Documentation.yml

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,32 @@ jobs:
1515
with:
1616
version: "1"
1717
- uses: julia-actions/cache@v2
18-
- name: Install dependencies
19-
shell: julia --color=yes --project=docs {0}
20-
run: |
21-
using Pkg
22-
Pkg.instantiate()
23-
- name: Aggregate and deploy
24-
run: |
25-
git config user.name github-actions
26-
git config user.email [email protected]
27-
julia --color=yes --project=docs docs/make.jl
18+
- uses: julia-actions/julia-docdeploy@v1
2819
env:
2920
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
3021
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
dev-docs-cleanup:
23+
needs: docs
24+
name: dev docs cleanup
25+
runs-on: ubuntu-latest
26+
steps:
27+
- name: Checkout gh-pages branch
28+
uses: actions/checkout@v4
29+
with:
30+
ref: gh-pages
31+
32+
- uses: julia-actions/setup-julia@v2
33+
with:
34+
version: '1'
35+
- uses: julia-actions/cache@v2
36+
37+
- name: Delete dev docs
38+
run: |
39+
git rm -rf ./Spectra/dev/
40+
- name: Push changes
41+
run: |
42+
git config user.name "Documenter.jl"
43+
git config user.email "[email protected]"
44+
git commit -m "delete dev docs"
45+
git branch gh-pages-new $(echo "delete history" | git commit-tree HEAD^{tree})
46+
git push --force origin gh-pages-new:gh-pages

src/JuliaAstroDocs.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -660,9 +660,9 @@ ecosystem() = (
660660
astropy = ["astropy.io.fits"],
661661
),
662662
(
663-
name = "barrettp/FITS.jl",
664-
repo = "https://github.com/barrettp/FITS.jl",
665-
doc = "https://barrettp.github.io/FITS.jl/",
663+
name = "barrettp/FITSFiles.jl",
664+
repo = "https://github.com/barrettp/FITSFiles.jl",
665+
doc = "https://barrettp.github.io/FITSFiles.jl/",
666666
tagline = "A Julia Flexible Image Transport System (FITS) file IO package",
667667
descr = """
668668
- A Julia Flexible Image Transport System (FITS) file IO package

0 commit comments

Comments
 (0)