Skip to content

Create deploy.yml

Create deploy.yml #1

Workflow file for this run

name: Node.js CI
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: 0 */6 * * *
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Check xlicon-v4-Md repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install libraries
run: npm install
- name: Starting xlicon-v4-Md
run: npm start
- name: Re-trigger workflow
run: |
curl -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
(link unavailable){{ github.repository }}/actions/workflows/${{ github.workflow }}}/dispatches \
-d '{"ref":"main"}'