Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ShabbirHasan1 authored Dec 27, 2023
1 parent 2806261 commit f3513b1
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: Update Latest User Agents
on:
push:
branches:
- main
schedule:
- cron: '0 0 * * *'
jobs:
build:
name: Update Latest User Agents
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11.x'
- run: python --version
- run: pip install -r requirements.txt
- run: python update_user_agents.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# name: Update Latest User Agents
# on:
# push:
# branches:
# - main
# schedule:
# - cron: '0 0 * * *'
# jobs:
# build:
# name: Update Latest User Agents
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-python@v5
# with:
# python-version: '3.11.x'
# - run: python --version
# - run: pip install -r requirements.txt
# - run: python update_user_agents.py
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f3513b1

Please sign in to comment.