add release token
This commit is contained in:
@@ -46,15 +46,25 @@ jobs:
|
|||||||
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
|
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
|
||||||
run: poetry install --no-interaction --no-root
|
run: poetry install --no-interaction --no-root
|
||||||
#----------------------------------------------
|
#----------------------------------------------
|
||||||
# install your root project, if required
|
# install and run the project
|
||||||
#----------------------------------------------
|
#----------------------------------------------
|
||||||
- name: Install package
|
- name: Install package
|
||||||
run: poetry install --no-interaction
|
run: poetry install --no-interaction
|
||||||
- name: Generate New Calendar Files
|
- name: Generate New Calendar Files
|
||||||
run: poetry run generate-ics
|
run: poetry run generate-ics
|
||||||
|
#----------------------------------------------
|
||||||
|
# publish artifacts and release
|
||||||
|
#----------------------------------------------
|
||||||
- name: Archive production artifacts
|
- name: Archive production artifacts
|
||||||
uses: christopherhx/gitea-upload-artifact@v4
|
uses: christopherhx/gitea-upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: calendars
|
name: calendars
|
||||||
path: |
|
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