Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ci.yml #26

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading