Skip to content

Commit 74af6b0

Browse files
give up -- only build docs on main.
1 parent c9ce8f2 commit 74af6b0

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/conda_test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Run tests with miniforge
22
on: [push]
33

4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.ref }}
6+
cancel-in-progress: true
7+
48
jobs:
59
test:
610
name: Miniconda ${{ matrix.os }} Py${{ matrix.pyver }}

.github/workflows/static_docs.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
# Simple workflow for deploying static content to GitHub Pages
2-
32
name: Deploy static content to Pages
43

54
concurrency:
65
group: ${{ github.workflow }}-${{ github.ref }}
76
cancel-in-progress: true
87

9-
# on: [push]
10-
# on:
11-
# push:
12-
# branches: ["main"]
138
on:
149
push:
15-
# Allows you to run this workflow manually from the Actions tab
10+
branches: ["main"]
1611
workflow_dispatch:
1712

1813
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
@@ -45,6 +40,6 @@ jobs:
4540
# Upload entire repository
4641
path: 'docs/build/html'
4742
- name: Deploy to GitHub Pages
48-
if: github.ref == 'refs/heads/main'
43+
# if: github.ref == 'refs/heads/main'
4944
id: deployment
5045
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)