Skip to content

Commit 58fc4a6

Browse files
Move publishing to separate file
1 parent e7a8b8e commit 58fc4a6

File tree

2 files changed

+30
-26
lines changed

2 files changed

+30
-26
lines changed

.github/workflows/addon-docs.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish Addon Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
tags:
9+
- "**"
10+
jobs:
11+
build:
12+
env:
13+
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
token: ${{ secrets.GITHUB_TOKEN }}
19+
- uses: pnpm/action-setup@v4
20+
with:
21+
version: 9
22+
- uses: actions/setup-node@v4
23+
with:
24+
node-version: 18
25+
cache: pnpm
26+
- name: Install Dependencies
27+
run: pnpm install --no-lockfile
28+
- name: Deploy Docs
29+
run: |
30+
pnpm ember deploy production

.github/workflows/ci-cd.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -111,29 +111,3 @@ jobs:
111111
run: pnpm i --frozen-lockfile
112112
- name: Test
113113
run: pnpm ember try:one ${{ matrix.try-scenario }}
114-
115-
deploy-app:
116-
name: Deploy app
117-
needs: [lint, test-addon-floating, test-addon-locked, test-compatibility]
118-
env:
119-
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
120-
runs-on: ubuntu-latest
121-
timeout-minutes: 7
122-
# Only run on pushes to the default branch
123-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
124-
steps:
125-
- name: Check out a copy of the repo
126-
uses: actions/checkout@v4
127-
with:
128-
token: ${{ secrets.GITHUB_TOKEN }}
129-
- name: Install Node
130-
uses: actions/setup-node@v4
131-
with:
132-
node-version: 18.x
133-
- uses: pnpm/action-setup@v4
134-
with:
135-
version: 9
136-
- name: Install dependencies
137-
run: pnpm install --no-lockfile
138-
- name: Deploy
139-
run: pnpm ember deploy production

0 commit comments

Comments
 (0)