Skip to content

Commit

Permalink
Merge pull request #254 from cta-observatory/rename_brach
Browse files Browse the repository at this point in the history
Fix leftover config errors after renaming default branch to main
  • Loading branch information
maxnoe authored Sep 12, 2023
2 parents ef27efb + e056ee8 commit 56823fe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on:
push:
branches:
- master
- main
tags:
- '**'
pull_request:
Expand Down Expand Up @@ -88,8 +88,8 @@ jobs:
run: cd docs && make html SPHINXOPTS="-W --keep-going -n --color -j auto"

- name: Deploy to gihub pages
# only run on push to master
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
# only run on push to main
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
python setup.py sdist bdist_wheel
- name: Publish package
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}
5 changes: 0 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
.. pyirf documentation master file, created by
sphinx-quickstart on Sat Apr 25 16:39:28 2020.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
.. meta::
:github_url: https://github.com/cta-observatory/pyirf

Expand Down

0 comments on commit 56823fe

Please sign in to comment.