-
Notifications
You must be signed in to change notification settings - Fork 13
33 lines (32 loc) · 1023 Bytes
/
nodejs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Publish site when changed
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
with:
persist-credentials: false
- name: Install and Build 🔧
run: |
yarn
yarn build
env:
RECAPTCHA_CLIENT_KEY: ${{ secrets.RECAPTCHA_CLIENT_KEY }}
HUBSPOT_PORTAL_ID: ${{ secrets.HUBSPOT_PORTAL_ID }}
HUBSPOT_FOOTER_FORM: ${{ secrets.HUBSPOT_FOOTER_FORM }}
HUBSPOT_CONTACT_EN_FORM: ${{ secrets.HUBSPOT_CONTACT_EN_FORM }}
HUBSPOT_CONTACT_ES_FORM: ${{ secrets.HUBSPOT_CONTACT_ES_FORM }}
HUBSPOT_BLOCKCHAIN_FORM: ${{ secrets.HUBSPOT_BLOCKCHAIN_FORM }}
HUBSPOT_LACCHAIN_FORM: ${{ secrets.HUBSPOT_LACCHAIN_FORM }}
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: build
CLEAN: true