-
Notifications
You must be signed in to change notification settings - Fork 19
Migrate to shared-actions #223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| 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 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Rather than pinning to main, let's do a specific version or hash (see penn-clubs example) I just released the new changes you made to shared-actions, so we can start using v0.1.2
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Addressed |
||
| 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 | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's delete these two top lines and sub in:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed