Skip to content

Commit

Permalink
Try out github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultmol authored Oct 21, 2023
1 parent 8c2d3c0 commit 121ab3b
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Run Imgur URL Extractor

on:
push:
branches:
- test-actions # Replace with your test branch name if different

jobs:
run-script:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: pip install requests

- name: Run script
run: python your_script_name.py # Replace with the actual name of your Python script

- name: Upload Snapshots
uses: actions/upload-artifact@v2
with:
name: snapshots
path: Snapshots/

- name: Upload All Imgur URLs
uses: actions/upload-artifact@v2
with:
name: all-imgur-urls
path: All_Imgur_urls.txt

0 comments on commit 121ab3b

Please sign in to comment.