Skip to content

edit

edit #34

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: Set secret as an environment variable
run: echo "MY_SECRET_CODE=${{ secrets.MY_SECRET_CODE }}" >> $GITHUB_ENV
- name: Run script
run: node scripts/script.js