Skip to content

Commit 43bd1cc

Browse files
authored
Merge pull request #33 from visto9259/1.1.x
Updated GH CI workflow to run on push only
2 parents 993e629 + 52d3486 commit 43bd1cc

File tree

3 files changed

+25
-5
lines changed

3 files changed

+25
-5
lines changed

.github/workflows/test-deploy-gh-pages.yml renamed to .github/workflows/continuous-integration.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build GitHub Pages No Deploy
1+
name: Test Build GitHub Pages
22

33
defaults:
44
run:

.github/workflows/deploy-gh-pages.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
name: Build and Deploy to GitHub Pages
1+
name: Build and Deploy to GitHub Pages on Release
22

33
defaults:
44
run:
55
shell: bash
66
working-directory: ./docs
77

88
on:
9-
push:
10-
branches:
11-
- 'master'
9+
# push:
10+
# branches:
11+
# - 'main'
1212
workflow_dispatch:
13+
milestone:
14+
types:
15+
- "closed"
1316

1417

1518
jobs:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
2+
3+
name: "Automatic Releases"
4+
5+
on:
6+
milestone:
7+
types:
8+
- "closed"
9+
10+
jobs:
11+
release:
12+
uses: laminas/workflow-automatic-releases/.github/workflows/[email protected]
13+
secrets:
14+
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
15+
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
16+
ORGANIZATION_ADMIN_TOKEN: ${{ secrets.ORGANIZATION_ADMIN_TOKEN }}
17+
SIGNING_SECRET_KEY: ${{ secrets.SIGNING_SECRET_KEY }}

0 commit comments

Comments
 (0)