Skip to content

Commit

Permalink
nuke cdk, update workflows to use shared action
Browse files Browse the repository at this point in the history
  • Loading branch information
vsingh18567 committed Oct 5, 2023
1 parent 0a5b5ad commit fc2c23b
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 430 deletions.
3 changes: 0 additions & 3 deletions .github/cdk/.gitignore

This file was deleted.

2 changes: 0 additions & 2 deletions .github/cdk/cdkactions.yaml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/cdk/main.ts

This file was deleted.

25 changes: 0 additions & 25 deletions .github/cdk/package.json

This file was deleted.

33 changes: 0 additions & 33 deletions .github/cdk/tsconfig.json

This file was deleted.

216 changes: 0 additions & 216 deletions .github/cdk/yarn.lock

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/build-and-deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Generated by cdkactions. Do not modify
# Generated as part of the 'website' stack.
name: Build and Deploy
on: push
jobs:
react-check-and-publish:
name: React Check & Publish Frontend
runs-on: ubuntu-latest
steps:
- uses: pennlabs/shared-actions/.github/workflows/react.yaml@main
with:
imageName: website
githubRef: ${{ github.ref }}
gitSha: ${{ github.sha }}
deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: pennlabs/shared-actions/.github/workflows/deployment.yaml@main
with:
githubRef: ${{ github.ref }}
gitSha: ${{ github.sha }}
needs:
- react-check-and-publish
Loading

0 comments on commit fc2c23b

Please sign in to comment.