forked from stackitcloud/stackit-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (28 loc) · 752 Bytes
/
cd.yaml
File metadata and controls
32 lines (28 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: CD Workflow
on:
push:
branches:
- main
jobs:
check-version:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.8"
- name: Push tag for each updated package
env:
GH_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
git config --global user.name "SDK Releaser Bot"
git config --global user.email "noreply@stackit.de"
pip install poetry
scripts/cd.sh