Skip to content

Update main.yml

Update main.yml #15

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Run script
env:
ENTERED_CODE: "someValue"
MY_SECRET_CODE: ${{ secrets.MY_SECRET_CODE }}
run: node scripts/script.js