Skip to content

Commit

Permalink
chore: migrate ci/cd pipelines to github actions and argo cd
Browse files Browse the repository at this point in the history
  • Loading branch information
Prasanna Chiang committed Jan 3, 2024
1 parent b7e701e commit 4085eb7
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ jobs:
react-app-rewired test --coverage --colors
- name: Build
if: ${{ github.ref == 'refs/heads/master' || contains(github.event.head_commit.message, 'test-publish') }}
if: ${{ github.ref == 'refs/heads/master' }}
run: yarn build

- name: Publish gh-pages
if: ${{ github.ref == 'refs/heads/master' || contains(github.event.head_commit.message, 'test-publish') }}
if: ${{ github.ref == 'refs/heads/master' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -67,13 +67,9 @@ jobs:
cname: ui.quid.com

- name: Publish to npm
if: ${{ github.ref == 'refs/heads/master' || contains(github.event.head_commit.message, 'test-publish') }}
if: ${{ github.ref == 'refs/heads/master' }}
run: |
export GITHUB_NAME=quid-bot
export [email protected]
export AUTOMATED_WRITE_AUTH=${{ secrets.AUTOMATED_WRITE_AUTH }}
scripts/deploy.sh
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3

0 comments on commit 4085eb7

Please sign in to comment.