Create README.md #9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: db | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| workflow_dispatch: | |
| jobs: | |
| makedb: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@main | |
| - name: build db | |
| run: bash makedb.sh | |
| - name: remove old release | |
| env: | |
| GH_TOKEN: ${{ secrets.GTOK }} | |
| GH_REPO: ${{ github.repository }} | |
| run: gh release delete owcdb -y | |
| continue-on-error: true | |
| - name: publish release | |
| env: | |
| GH_TOKEN: ${{ secrets.GTOK }} | |
| GH_REPO: ${{ github.repository }} | |
| run: > | |
| gh release create owcdb | |
| owcdb.txt | |
| --draft=false | |
| --latest | |
| -t "Community profiles DB" | |
| -n "This db is always up to date" | |