Skip to content

Commit

Permalink
Move publishing to separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbieTheWagner committed Dec 5, 2024
1 parent e7a8b8e commit 58fc4a6
Showing 2 changed files with 30 additions and 26 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/addon-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Publish Addon Docs

on:
push:
branches:
- main
- master
tags:
- "**"
jobs:
build:
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
- name: Install Dependencies
run: pnpm install --no-lockfile
- name: Deploy Docs
run: |
pnpm ember deploy production
26 changes: 0 additions & 26 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
@@ -111,29 +111,3 @@ jobs:
run: pnpm i --frozen-lockfile
- name: Test
run: pnpm ember try:one ${{ matrix.try-scenario }}

deploy-app:
name: Deploy app
needs: [lint, test-addon-floating, test-addon-locked, test-compatibility]
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
runs-on: ubuntu-latest
timeout-minutes: 7
# Only run on pushes to the default branch
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- name: Check out a copy of the repo
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 18.x
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Install dependencies
run: pnpm install --no-lockfile
- name: Deploy
run: pnpm ember deploy production

0 comments on commit 58fc4a6

Please sign in to comment.