Skip to content

Commit

Permalink
copies LTI course manager specific workflows from its original repo.
Browse files Browse the repository at this point in the history
updated workflow names to prevent naming collisions with other
workflows.
  • Loading branch information
stopfstedt committed Feb 15, 2024
1 parent b806228 commit e747bc8
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/lti-course-manager-deploy-production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: LTI Course Manager Deploy Production Build

on:
push:
tags:
- '*'

jobs:
deploy:
name: Deploy to AWS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- run: pnpm install
- name: Ember CLI Deploy
run: pnpm run --filter lti-course-manager deploy:production
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
26 changes: 26 additions & 0 deletions .github/workflows/lti-course-manager-deploy-staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: LTI Course Manager Deploy Staging Build

on:
push:
branches:
- master

jobs:
deploy:
name: Deploy to AWS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- run: pnpm install
- name: Ember CLI Deploy
run: pnpm run --filter lti-course-manager deploy:staging
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

0 comments on commit e747bc8

Please sign in to comment.