Skip to content

Update main.yml

Update main.yml #6

Workflow file for this run

name: Check
on:
push:
branches:
- main
schedule:
- cron: "0 22 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
node-version: "16.x"
- name: Before script
run: |
npm i
sudo apt update
sudo apt install -y php xmlstarlet bash
- name: Build
run: |
# Set envs
echo "MEETUP_COOKIES=$(echo $MEETUP_COOKIES | cut -c 1-6)" >> $MEETUP_COOKIES
# Get data from MeetUp and render index.html
bash build.sh
# Dist
mv dist public