CI: checkout med REPO_ACCESS_TOKEN secret
This commit is contained in:
+12
-2
@@ -24,7 +24,12 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
env:
|
||||||
|
GITEA_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
|
||||||
|
run: |
|
||||||
|
git clone https://glennigen:${GITEA_TOKEN}@git.itedb.dk/glennigen/pokedexter.git .
|
||||||
|
git config advice.detachedHead false
|
||||||
|
git checkout ${{ github.sha }}
|
||||||
|
|
||||||
- name: Setup Python 3.12
|
- name: Setup Python 3.12
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
@@ -57,7 +62,12 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
env:
|
||||||
|
GITEA_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
|
||||||
|
run: |
|
||||||
|
git clone https://glennigen:${GITEA_TOKEN}@git.itedb.dk/glennigen/pokedexter.git .
|
||||||
|
git config advice.detachedHead false
|
||||||
|
git checkout ${{ github.sha }}
|
||||||
|
|
||||||
- name: Build backend image
|
- name: Build backend image
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user