Skip to content

Commit 83b7fac

Browse files
committed
fix(templates/cms): update workflows
1 parent e0a82eb commit 83b7fac

File tree

11 files changed

+23
-48
lines changed
  • templates
    • angular
      • angular-starter-buttercms/.github/workflows
      • sanity-angular-clean/.github/workflows
    • astro
      • cosmic-simple-astro-blog/.github/workflows
      • sanity-astro-clean/.github/workflows
    • gatsby/gatsby-starter-buttercms/.github/workflows
    • nextjs
      • cosmic-agency/.github/workflows
      • cosmic-simple-nextjs-blog/.github/workflows
    • nuxt
      • nuxt-starter-buttercms/.github/workflows
      • sanity-nuxt-clean/.github/workflows
    • react/react-starter-buttercms/.github/workflows
    • vue/vue-starter-buttercms/.github/workflows

11 files changed

+23
-48
lines changed

templates/angular/angular-starter-buttercms/.github/workflows/main.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
name: Main Edge Deploy
22

33
on:
4-
pull_request:
5-
types:
6-
- closed
4+
workflow_dispatch:
5+
push:
76
branches:
87
- "main"
98

109
jobs:
1110
deploy:
12-
if: github.event.pull_request.merged == true
1311
runs-on: ubuntu-latest
1412

1513
permissions:

templates/angular/sanity-angular-clean/.github/workflows/main.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
name: Main Edge Deploy
22

33
on:
4-
pull_request:
5-
types:
6-
- closed
4+
workflow_dispatch:
5+
push:
76
branches:
87
- "main"
98

109
jobs:
1110
deploy:
12-
if: github.event.pull_request.merged == true
1311
runs-on: ubuntu-latest
1412

1513
permissions:

templates/astro/cosmic-simple-astro-blog/.github/workflows/main.yml

+3-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
name: Main Edge Deploy
22

33
on:
4-
pull_request:
5-
types:
6-
- closed
4+
workflow_dispatch:
5+
push:
76
branches:
87
- "main"
98

109
jobs:
1110
deploy:
12-
if: github.event.pull_request.merged == true
1311
runs-on: ubuntu-latest
1412

1513
permissions:
@@ -23,10 +21,7 @@ jobs:
2321
uses: actions/setup-node@v3
2422
with:
2523
node-version: 18
26-
27-
- name: Install dependencies
28-
run: pnpm i
29-
24+
3025
- name: Install Azion CLI
3126
run: |
3227
curl -o azionlinux https://downloads.azion.com/linux/x86_64/azion

templates/astro/sanity-astro-clean/.github/workflows/main.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
name: Main Edge Deploy
22

33
on:
4-
pull_request:
5-
types:
6-
- closed
4+
workflow_dispatch:
5+
push:
76
branches:
87
- "main"
98

109
jobs:
1110
deploy:
12-
if: github.event.pull_request.merged == true
1311
runs-on: ubuntu-latest
1412

1513
permissions:

templates/gatsby/gatsby-starter-buttercms/.github/workflows/main.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
name: Main Edge Deploy
22

33
on:
4-
pull_request:
5-
types:
6-
- closed
4+
workflow_dispatch:
5+
push:
76
branches:
87
- "main"
98

109
jobs:
1110
deploy:
12-
if: github.event.pull_request.merged == true
1311
runs-on: ubuntu-latest
1412

1513
permissions:

templates/nextjs/cosmic-agency/.github/workflows/main.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
name: Main Edge Deploy
22

33
on:
4-
pull_request:
5-
types:
6-
- closed
4+
workflow_dispatch:
5+
push:
76
branches:
87
- "main"
98

109
jobs:
1110
deploy:
12-
if: github.event.pull_request.merged == true
1311
runs-on: ubuntu-latest
1412

1513
permissions:

templates/nextjs/cosmic-simple-nextjs-blog/.github/workflows/main.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
name: Main Edge Deploy
22

33
on:
4-
pull_request:
5-
types:
6-
- closed
4+
workflow_dispatch:
5+
push:
76
branches:
87
- "main"
98

109
jobs:
1110
deploy:
12-
if: github.event.pull_request.merged == true
1311
runs-on: ubuntu-latest
1412

1513
permissions:

templates/nuxt/nuxt-starter-buttercms/.github/workflows/main.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
name: Main Edge Deploy
22

33
on:
4-
pull_request:
5-
types:
6-
- closed
4+
workflow_dispatch:
5+
push:
76
branches:
87
- "main"
98

109
jobs:
1110
deploy:
12-
if: github.event.pull_request.merged == true
1311
runs-on: ubuntu-latest
1412

1513
permissions:

templates/nuxt/sanity-nuxt-clean/.github/workflows/main.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
name: Main Edge Deploy
22

33
on:
4-
pull_request:
5-
types:
6-
- closed
4+
workflow_dispatch:
5+
push:
76
branches:
87
- "main"
98

109
jobs:
1110
deploy:
12-
if: github.event.pull_request.merged == true
1311
runs-on: ubuntu-latest
1412

1513
permissions:

templates/react/react-starter-buttercms/.github/workflows/main.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
name: Main Edge Deploy
22

33
on:
4-
pull_request:
5-
types:
6-
- closed
4+
workflow_dispatch:
5+
push:
76
branches:
87
- "main"
98

109
jobs:
1110
deploy:
12-
if: github.event.pull_request.merged == true
1311
runs-on: ubuntu-latest
1412

1513
permissions:

templates/vue/vue-starter-buttercms/.github/workflows/main.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
name: Main Edge Deploy
22

33
on:
4-
pull_request:
5-
types:
6-
- closed
4+
workflow_dispatch:
5+
push:
76
branches:
87
- "main"
98

109
jobs:
1110
deploy:
12-
if: github.event.pull_request.merged == true
1311
runs-on: ubuntu-latest
1412

1513
permissions:

0 commit comments

Comments
 (0)