This repository has been archived by the owner on May 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into feature/import-ex…
…periment
- Loading branch information
Showing
4 changed files
with
60 additions
and
22 deletions.
There are no files selected for viewing
This file contains 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,58 @@ | ||
name: 'Build and Deploy' | ||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
paths-ignore: | ||
- projects/server/** | ||
- terraform/** | ||
jobs: | ||
bump-version: | ||
name: 'Build and Deploy' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: 'actions/checkout@v2' | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
- uses: phips28/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- run: npm ci | ||
- run: npm run build:prod | ||
- run: zip -r upgrade-client-v${{ steps.package-version.outputs.current-version}}.zip * | ||
working-directory: dist/abtesting | ||
- run: mv dist/abtesting/upgrade-client-v${{ steps.package-version.outputs.current-version}}.zip . | ||
- name: Generate Release Changelog | ||
uses: Bullrich/[email protected] | ||
id: changelog | ||
env: | ||
REPO: ${{ github.repository }} | ||
- name: Generate Slack Changelog | ||
run: | | ||
echo 'CHANGELOG<<EOF' >> $GITHUB_ENV | ||
git log --color=never --pretty='tformat:%xe2%x80%xa2 `%h` %s (%an)' ${{github.event.before}}..HEAD >> $GITHUB_ENV | ||
echo 'EOF' >> $GITHUB_ENV | ||
- uses: martinbeentjes/[email protected] | ||
id: package-version | ||
- name: Create Release | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
artifacts: upgrade-client-v${{ steps.package-version.outputs.current-version}}.zip | ||
tag: v${{ steps.package-version.outputs.current-version}} | ||
name: Upgrade Client ${{ steps.package-version.outputs.current-version}} | ||
body: ${{ steps.changelog.outputs.changelog }} | ||
commit: master | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: reggionick/[email protected] | ||
env: | ||
aws_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY}} | ||
with: | ||
bucket: ${{ secrets.S3_BUCKET }} | ||
bucket-region: ${{ secrets.AWS_REGION }} | ||
folder: dist/abtesting/ | ||
dist-id: ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} | ||
invalidation: /index.html |
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "ab-testing", | ||
"version": "1.0.5", | ||
"version": "1.0.8", | ||
"license": "MIT", | ||
"scripts": { | ||
"ng": "ng", | ||
|