-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgithub-action.yml
More file actions
23 lines (20 loc) · 805 Bytes
/
github-action.yml
File metadata and controls
23 lines (20 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: Learning GitHub Actions
run-name: ${{ github.actor }} is sending a telegram notification ⚡
on: [push]
jobs:
Learning-GitHub-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v2
- run: echo "The ${{ github.repository }} repository has been cloned to the runner."
- name: start python
uses: actions/setup-python@v2
with:
python-version: "3.11"
- name: Install dependencies
run: pip install requests
- name: execute py script
run: python3 ./auto/main.py