This commit is contained in:
@@ -5,10 +5,17 @@ on: [push]
|
|||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: "homesrv01"
|
runs-on: "homesrv01"
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
python-version: [ '2.x', '3.x', 'pypy2', 'pypy3' ]
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
|
||||||
|
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
|
||||||
|
- run: python my_script.py
|
||||||
|
#strategy:
|
||||||
|
# matrix:
|
||||||
|
# python-version: [ '2.x', '3.x', 'pypy2', 'pypy3' ]
|
||||||
|
#steps:
|
||||||
# - name: update
|
# - name: update
|
||||||
# run: |
|
# run: |
|
||||||
# apt update -y && apt upgrade -y
|
# apt update -y && apt upgrade -y
|
||||||
@@ -19,11 +26,11 @@ jobs:
|
|||||||
# apt install python3-pip -y
|
# apt install python3-pip -y
|
||||||
# python3 -m pip install ansible
|
# python3 -m pip install ansible
|
||||||
# python3 -m pip install ansible-lint
|
# python3 -m pip install ansible-lint
|
||||||
- uses: actions/checkout@v2
|
# - uses: actions/checkout@v2
|
||||||
- uses: actions/setup-python@v2
|
# - uses: actions/setup-python@v2
|
||||||
with:
|
# with:
|
||||||
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
|
# python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
|
||||||
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
|
# architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
|
||||||
- name: Portainer webhook
|
# - name: Portainer webhook
|
||||||
run: |
|
# run: |
|
||||||
curl -X POST "${{secrets.PORTAINER_WEBHOOK_URL}}"
|
# curl -X POST "${{secrets.PORTAINER_WEBHOOK_URL}}"
|
||||||
|
|||||||
Reference in New Issue
Block a user