forked from docs/doc-exports
Compare commits
1 Commits
yexinru_uc
...
hcdc3
| Author | SHA1 | Date | |
|---|---|---|---|
| 5e7eccd7d1 |
19
.gitea/workflows/get-token.yaml
Normal file
19
.gitea/workflows/get-token.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
name: Run HCDC
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened, synchronize, edited]
|
||||
|
||||
jobs:
|
||||
get-token:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Get OTC token
|
||||
id: otc
|
||||
uses: https://github.com/opentelekomcloud-infra/github-actions/.github/actions/get-otc-token@v1
|
||||
with:
|
||||
os_username: ${{ secrets.OTC_HCDC_USERNAME }}
|
||||
os_password: ${{ secrets.OTC_HCDC_PASSWORD }}
|
||||
os_domain_name: ${{ secrets.OTC_HCDC_DOMAIN_NAME }}
|
||||
os_project_id: ${{ secrets.OTC_HCDC_PROJECT_ID }}
|
||||
@ -39,7 +39,6 @@ jobs:
|
||||
persist-credentials: false
|
||||
token: ${{ gitea.token }}
|
||||
|
||||
|
||||
- name: Get OTC token
|
||||
id: otc
|
||||
uses: https://github.com/opentelekomcloud-infra/github-actions/.github/actions/get-otc-token@v1
|
||||
|
||||
Reference in New Issue
Block a user