Merge remote-tracking branch 'origin/master' #595
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
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.x | |
- name: Install NPM deps | |
run: | | |
npm install | |
- name: Generate hubspot.config.yml and deploy | |
env: | |
HUBSPOT_PORTAL_ID: ${{ secrets.HubSpotPortalId }} | |
HUBSPOT_PERSONAL_ACCESS_KEY: ${{ secrets.HubSpotPersonalAccessKey }} | |
run: | | |
bin/generate-config.js | |
bin/deploy.sh |