Skip to content

Commit 36991ca

Browse files
committed
rename branch to main in docs
1 parent 2a3eb65 commit 36991ca

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

.github/workflows/main.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ name: Continuous Integration
33
on:
44
push:
55
branches:
6-
- "master"
7-
- "develop"
6+
- "main"
87
tags:
98
- "*"
109
pull_request:
1110
branches:
12-
- "develop"
11+
- "main"
1312
# Allows you to run this workflow manually from the Actions tab
1413
workflow_dispatch:
1514

@@ -28,7 +27,7 @@ jobs:
2827
- uses: actions/checkout@v2
2928

3029
- name: Set up Python 3.8
31-
uses: actions\setup-python@v2
30+
uses: actions/setup-python@v2
3231
with:
3332
python-version: 3.8
3433

@@ -59,7 +58,7 @@ jobs:
5958
fetch-depth: '0'
6059

6160
- name: Set up Python ${{ matrix.python-version }}
62-
uses: actions\setup-python@v2
61+
uses: actions/setup-python@v2
6362
with:
6463
python-version: ${{ matrix.python-version }}
6564

@@ -94,8 +93,8 @@ jobs:
9493
path: dist
9594

9695
- name: Publish to Test PyPI
97-
# only if working on develop
98-
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop'
96+
# only if working on main
97+
if: github.ref == 'refs/heads/main'
9998
uses: pypa/gh-action-pypi-publish@release/v1
10099
with:
101100
user: __token__

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.1135723.svg)](https://doi.org/10.5281/zenodo.1135723)
44
[![PyPI version](https://badge.fury.io/py/anaflow.svg)](https://badge.fury.io/py/anaflow)
5-
[![Build Status](https://github.com/GeoStat-Framework/AnaFlow/workflows/Continuous%20Integration/badge.svg?branch=develop)](https://github.com/GeoStat-Framework/AnaFlow/actions)
5+
[![Build Status](https://github.com/GeoStat-Framework/AnaFlow/workflows/Continuous%20Integration/badge.svg?branch=main)](https://github.com/GeoStat-Framework/AnaFlow/actions)
66
[![Documentation Status](https://readthedocs.org/projects/docs/badge/?version=latest)](https://anaflow.readthedocs.io/en/latest/)
77
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
88

99
<p align="center">
10-
<img src="https://raw.githubusercontent.com/GeoStat-Framework/AnaFlow/master/docs/source/pics/Anaflow.png" alt="AnaFlow-LOGO" width="251px"/>
10+
<img src="https://raw.githubusercontent.com/GeoStat-Framework/AnaFlow/main/docs/source/pics/Anaflow.png" alt="AnaFlow-LOGO" width="251px"/>
1111
</p>
1212

1313
## Purpose
@@ -52,7 +52,7 @@ plt.show()
5252
```
5353

5454
<p align="center">
55-
<img src="https://raw.githubusercontent.com/GeoStat-Framework/AnaFlow/master/docs/source/pics/01_call_theis.png" alt="Theis" width="600px"/>
55+
<img src="https://raw.githubusercontent.com/GeoStat-Framework/AnaFlow/main/docs/source/pics/01_call_theis.png" alt="Theis" width="600px"/>
5656
</p>
5757

5858

@@ -102,5 +102,5 @@ You can contact us via <info@geostat-framework.org>.
102102

103103
[MIT][mit_link] © 2019 - 2021
104104

105-
[mit_link]: https://github.com/GeoStat-Framework/AnaFlow/blob/master/LICENSE
105+
[mit_link]: https://github.com/GeoStat-Framework/AnaFlow/blob/main/LICENSE
106106
[doc_link]: https://anaflow.readthedocs.io

docs/source/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ Requirements
6565
License
6666
=======
6767

68-
`MIT <https://github.com/GeoStat-Framework/AnaFlow/blob/master/LICENSE>`_
68+
`MIT <https://github.com/GeoStat-Framework/AnaFlow/blob/main/LICENSE>`_

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ project_urls =
3838
Documentation = https://anaflow.readthedocs.io
3939
Source = https://github.com/GeoStat-Framework/anaflow
4040
Tracker = https://github.com/GeoStat-Framework/anaflow/issues
41-
Changelog = https://github.com/GeoStat-Framework/anaflow/blob/develop/CHANGELOG.md
41+
Changelog = https://github.com/GeoStat-Framework/anaflow/blob/main/CHANGELOG.md
4242
Conda-Forge = https://anaconda.org/conda-forge/anaflow
4343

4444
[options]

0 commit comments

Comments
 (0)