File: github-actions-publish-project.yml

package info (click to toggle)
python-beanie 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,496 kB
  • sloc: python: 14,596; makefile: 6; sh: 6
file content (17 lines) | stat: -rw-r--r-- 373 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
name: Publish project
on:
  push:
    branches:
      - main
jobs:
  publish_project:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: install flit
        run: pip3 install flit
      - name: publish project
        env:
          FLIT_USERNAME: __token__
          FLIT_PASSWORD: ${{ secrets.FLIT_PASSWORD }}
        run: flit publish