add release token
This commit is contained in:
@@ -46,15 +46,25 @@ jobs:
|
||||
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
|
||||
run: poetry install --no-interaction --no-root
|
||||
#----------------------------------------------
|
||||
# install your root project, if required
|
||||
# install and run the project
|
||||
#----------------------------------------------
|
||||
- name: Install package
|
||||
run: poetry install --no-interaction
|
||||
- name: Generate New Calendar Files
|
||||
run: poetry run generate-ics
|
||||
#----------------------------------------------
|
||||
# publish artifacts and release
|
||||
#----------------------------------------------
|
||||
- name: Archive production artifacts
|
||||
uses: christopherhx/gitea-upload-artifact@v4
|
||||
with:
|
||||
name: calendars
|
||||
path: |
|
||||
output/
|
||||
output/
|
||||
- name: Use Go Action
|
||||
id: use-go-action
|
||||
uses: actions/release-action@main
|
||||
with:
|
||||
files: |-
|
||||
output/**
|
||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||
Reference in New Issue
Block a user