forked from jmug/stoatchat
fix(ci): move token definition to correct stage
This commit is contained in:
3
.github/workflows/rust.yaml
vendored
3
.github/workflows/rust.yaml
vendored
@@ -59,6 +59,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: revoltchat/api
|
repository: revoltchat/api
|
||||||
path: api
|
path: api
|
||||||
|
token: ${{ secrets.PAT }}
|
||||||
|
|
||||||
- name: Download OpenAPI specification
|
- name: Download OpenAPI specification
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
@@ -71,5 +72,3 @@ jobs:
|
|||||||
cwd: "api"
|
cwd: "api"
|
||||||
add: "*.json"
|
add: "*.json"
|
||||||
message: "chore: generate OpenAPI specification"
|
message: "chore: generate OpenAPI specification"
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.PAT }}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user