Skip to content

Update landing.html #315

Update landing.html

Update landing.html #315

Workflow file for this run

name: Deploy Skunkworks Contact Form
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.jscode
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: npm install
working-directory: ./backend
- name: Deploy to Heroku
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
HEROKU_APP_NAME: ${{ secrets.HEROKU_APP_NAME }}
HEROKU_EMAIL: ${{ secrets.HEROKU_EMAIL }}
run: |
echo "machine api.heroku.com" >> ~/.netrc
echo " login ${{ secrets.HEROKU_EMAIL }}" >> ~/.netrc
echo " password ${{ secrets.HEROKU_API_KEY }}" >> ~/.netrc
echo "machine git.heroku.com" >> ~/.netrc
echo " login ${{ secrets.HEROKU_EMAIL }}" >> ~/.netrc
echo " password ${{ secrets.HEROKU_API_KEY }}" >> ~/.netrc
git remote add heroku https://git.heroku.com/${{ env.HEROKU_APP_NAME }}.git
git push heroku main
working-directory: ./backend