Skip to content

Commit

Permalink
Merge pull request #26 from gammapy/registerrier-patch-2
Browse files Browse the repository at this point in the history
Update ci.yml
  • Loading branch information
registerrier authored Jun 21, 2024
2 parents 71b1afe + 5af855b commit bd2c73a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,23 @@ jobs:
defaults:
run:
shell: bash -l {0}
permissions:
contents: write
env:
GAMMAPY_DATA: /home/runner/work/gammapy-recipes/gammapy-recipes/gammapy-datasets
steps:
- name: checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: create and activate env
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-variant: Mambaforge
miniforge-version: latest
activate-environment: gammapy-recipes
environment-file: environment.yml
auto-update-conda: true
- id: grabmodifs
uses: trilom/[email protected].3
uses: trilom/[email protected].4
with:
output: ', '
- name: update env and download data
Expand Down Expand Up @@ -55,10 +57,9 @@ jobs:
cd docs && python -m sphinx . _build/html -b html && cd ..
rm -Rf gammapy-datasets
- name: commit changes
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
if: github.event.pull_request.merged == true
with:
token: ${{ secrets.PAT }}
commit_author: GitHub Actions <[email protected]>
commit_message: commit built documentation
branch : master
Expand Down

0 comments on commit bd2c73a

Please sign in to comment.