About: I am a passionate learner and obsessive seeker of all things related to computers, computing and developing.
Location:
Chandigarh, India
Joined:
Oct 15, 2019
Class Attendee Action
Publish Date: Sep 17 '20
24 1
My Workflow
I have made a GitHub Action named 'Class Attendee' for helping me to get over those boring 'OOPS' classes hosted by my university on Google Meet.
With ease:
Set a scheduled time for your classes.
Manage your time and learn concepts at your own pace
Make sure that you're never short on your college attendance.
P.S. OOPS or any other university course is an important part of the curriculum and you should never skip it. My only intention with this action is to be able to understand and grasp these concepts by actually implementing them on my own, a practice which I'm not able to follow while attending my University Classes.
Submission Category:
Wacky Wildcards
SECRETS
Make sure to add 3 secrets in your project, by going to
Project Settings > Secrets > New Secret.
The Format for these 3 secrets is as below :
USER_EMAIL : Contains Your Google Account Email Address
USER_PASSWORD : Contains Your Google Account Password
MEET_LINK : The Link for the Google Meet you'd like to join.
Yaml File or Link to Code
Example Workflow file
An example workflow to set up your class attender action quickly.
name:Class Attenderon:# Set the time hereschedule:-cron:"011***"# 11 AM Every Morningjobs:build:runs-on:ubuntu-lateststrategy:matrix:python-version:[3.7]steps:-uses:actions/checkout@v2-name:Set up Python ${{ matrix.python-version }}uses:actions/setup-python@v2with:python-version:${{ matrix.python-version }}-name:Setup Chromedriveruses:nanasess/setup-chromedriver@master-run:|export DISPLAY=:99chromedriver --url-base=/wd/hub &sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &-name:Install dependenciesrun:|python -m pip install --upgrade pippip install selenium pyvirtualdisplay pause-name:RUNrun:|python ./script.py ${{ secrets.USER_EMAIL }} ${{ secrets.USER_PASSWORD }} ${{ secrets.MEET_LINK }}
This repository is dedicated to a GitHub Action for running a cron job, every morning at 11 AM to attend my super boring OOPS Classes.
Class Attendee Action
This repository is dedicated to a GitHub Action for running a cron job, every morning at 11 AM to attend my super boring OOPS Classes.
THIS REPOSITORY WAS CREATED AS A PART OF ACTIONS HACKATHON HOSTED BY DEV.TO AND GITHUB, VIEW THE SUBMISSION HERE
SECRETS
Make sure to add 3 secrets in your project, by going to
Project Settings > Secrets > New Secret.
The Format for these 3 secrets is as below :
# Contains Your Google Account Email Address
USER_EMAIL
# Contains Your Google Account Password
USER_PASSWORD
# Add the Link for the Google Meet you'd like to join.
MEET_LINK
Usage
Example Workflow file
An example workflow to set up your class attender action quickly.
name: Class Attenderon:
# Set the time hereschedule:
- cron: "0 11 * * *"# 11 AM Every Morningjobs:
LMAO! This is next level crazy 😂😂