- Notifications
You must be signed in to change notification settings - Fork 10
Prepare plugin for release #33
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
Merged
Merged
Changes from 13 commits
Commits
Show all changes
31 commits Select commit Hold shift + click to select a range
a1b8fe9 chore: prepare plugin for release
vCaisim 63c06e8 fix: add missing workflow env vars
vCaisim 7210d10 Update deploy.yaml
vitaliimelnychuk c872b1d Update deploy.yaml
vitaliimelnychuk 2595389 feat: refactor file template
vitaliimelnychuk 155ca34 fix: remove prefix
vitaliimelnychuk 91286e8 fix: prefiux
vitaliimelnychuk 35a9e2f fix: checkout to app dir
vitaliimelnychuk e2268ee fix: use official aws commands to upload
vitaliimelnychuk de47c9c chore: deployment
vitaliimelnychuk 01a0bc9 fix: use aws v2
vitaliimelnychuk ea86ca6 fix: set region
vitaliimelnychuk 723f8a1 feat: set environment
vitaliimelnychuk 6f7dfbd feat: remove PR trigger
vitaliimelnychuk 395e5f4 feat: add ci workflow
vitaliimelnychuk 7e25706 refactor: rename from @currents/cypress-debugger to cypress-debugger
vCaisim 9ccb842 versioning
vCaisim 49344e7 docs: update CONTRIBUTE.md
vCaisim 8c229b5 chore: reformat contribute
agoldis ccc6464 chore: testing release
agoldis c3b4577 chore: make plugin pacakges public
agoldis a7e2efb chore: ..
agoldis b12de13 chore: ..
agoldis 109e0ca 1.0.2
agoldis 79d984f chore: revert version changes
agoldis b24f6a9 chore: add lint & format scripts
vCaisim a41b3ed trigger ci
vCaisim dcf88b7 Feat/release andrew (#35)
agoldis 62f20dc fix: build
vCaisim 139520c fix: allow empty har field (#37)
vCaisim bcb2401 Feat/use tailwind (#38)
vCaisim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| name: Deploy | ||
| | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
| branches: [main] | ||
| | ||
| jobs: | ||
| build: | ||
| if: "!contains(toJSON(github.event.commits.*.message), '[skip ci]')" | ||
| runs-on: ubuntu-latest | ||
| environment: Production | ||
| | ||
| steps: | ||
| - name: Checkout source code | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| node-version: "16" | ||
| | ||
| - name: Install dependencies | ||
| run: npm ci | ||
| | ||
| - name: Build | ||
| run: npm run build | ||
| | ||
| - name: Configure AWS Credentials | ||
| uses: aws-actions/configure-aws-credentials@v2 | ||
| with: | ||
| aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
| aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
| aws-region: ${{ secrets.AWS_REGION }} | ||
| | ||
| - name: Deploy dashboard to bucket | ||
| run: aws s3 sync ./apps/web/dist s3://${{ secrets.S3_BUCKET }} | ||
| | ||
| - name: Invalidate dashboard cloudfront | ||
| run: aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} --paths "/*" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
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.
The previous action didn't work well, here is the issue from there: Reggionick/s3-deploy#63