Skip to content

Update index.html

Update index.html #107

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.js
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: your-heroku-app-name
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