We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68a3985 commit 3234c14Copy full SHA for 3234c14
.github/workflows/cd.yml
@@ -0,0 +1,26 @@
1
+name: Continous Delivery
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
+ environment:
11
+ name: pypi
12
+ url: https://pypi.org/p/language_data
13
+ permissions:
14
+ id-token: write
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - name: Set up Python
18
+ uses: actions/setup-python@v4
19
+ with:
20
+ python-version: '3.12'
21
+ - name: Install dependencies
22
+ run: pip install .[build]
23
+ - name: Build package
24
+ run: python -m build
25
+ - name: Publish package
26
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments