Skip to content

Commit

Permalink
add deploy ci and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nahbee10 committed Dec 18, 2024
1 parent 4df669c commit cf4e1ce
Show file tree
Hide file tree
Showing 5 changed files with 74 additions and 410 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Deploy to production
'on': [push]

jobs:
lighthouse:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: zendesk/checkout@v3
- name: Setup Node.js
uses: zendesk/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Install node_modules
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Upload theme
run: node ./bin/theme-upload.js
env:
ZENDESK_EMAIL: ${{ secrets.zendesk_email }}
ZENDESK_API_TOKEN: ${{ secrets.zendesk_token }}
ZENDESK_SUBDOMAIN: ${{ secrets.subdomain }}
49 changes: 0 additions & 49 deletions .github/workflows/lighthouse.yml

This file was deleted.

Loading

0 comments on commit cf4e1ce

Please sign in to comment.