Skip to content

create

create #25

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: List files in scripts directory
run: ls scripts
- name: Run script
env:
ENTERED_CODE: "someValue"
MY_SECRET_CODE: ${{ secrets.MY_SECRET_CODE }}
run: node $GITHUB_WORKSPACE/script.js