Skip to content

Commit 4bc29c9

Browse files
committed
ENH solve just once
1 parent cba0e00 commit 4bc29c9

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

.ci_scripts/update_docs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
set -ex
44

5+
# configure bot account
6+
git config --global user.email "[email protected]"
7+
git config --global user.name "conda-forge-admin"
8+
59
git checkout -b new_site_content
6-
mamba env create -f ./.ci_scripts/environment.yml
7-
conda activate conda-forge-docs
810

911
pushd newsfeed
1012
pip install --no-deps .

.github/workflows/deploy.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,13 @@ jobs:
1717
- uses: conda-incubator/setup-miniconda@v2
1818
with:
1919
python-version: 3.8
20-
channels: conda-forge,defaults
20+
channels: conda-forge
2121
channel-priority: strict
2222
show-channel-urls: true
2323
miniforge-version: latest
2424
miniforge-variant: Mambaforge
25-
26-
- name: configure conda
27-
shell: bash -l {0}
28-
run: |
29-
# configure bot account
30-
git config --global user.email "[email protected]"
31-
git config --global user.name "conda-forge-admin"
32-
33-
# configure conda
34-
conda config --set show_channel_urls true
35-
conda config --set auto_update_conda false
25+
activate-environment: conda-forge-docs
26+
environment-file: .ci_scripts/environment.yml
3627

3728
- name: build
3829
shell: bash -l {0}

0 commit comments

Comments
 (0)