mirror of
https://github.com/RetroDECK/components-template.git
synced 2024-11-22 03:15:37 +00:00
PR: fixing Rekku private key
This commit is contained in:
parent
88844d9b9f
commit
f6306ce345
11
.github/workflows/pr_from_upstream.yml
vendored
11
.github/workflows/pr_from_upstream.yml
vendored
|
@ -19,21 +19,12 @@ jobs:
|
||||||
git checkout "${{ github.ref_name }}"
|
git checkout "${{ github.ref_name }}"
|
||||||
git branch --set-upstream-to=upstream/${{ github.ref_name }} ${{ github.ref_name }}
|
git branch --set-upstream-to=upstream/${{ github.ref_name }} ${{ github.ref_name }}
|
||||||
|
|
||||||
- name: Debug Private Key
|
|
||||||
run: |
|
|
||||||
echo "Testing access to REKKU_PRIVATE_KEY"
|
|
||||||
if [ -z "${{ secrets.REKKU_PRIVATE_KEY }}" ]; then
|
|
||||||
echo "Error: secret REKKU_PRIVATE_KEY not available."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
echo "Secret REKKU_PRIVATE_KEY available."
|
|
||||||
|
|
||||||
- name: Generate a token for Rekku
|
- name: Generate a token for Rekku
|
||||||
id: generate-rekku-token
|
id: generate-rekku-token
|
||||||
uses: actions/create-github-app-token@v1
|
uses: actions/create-github-app-token@v1
|
||||||
with:
|
with:
|
||||||
app-id: ${{ vars.REKKU_APP_ID }}
|
app-id: ${{ vars.REKKU_APP_ID }}
|
||||||
private-key: ${{ secrets.REKKU_PRIVATE_KEY }}
|
private-key: ${{ inputs.REKKU_PRIVATE_KEY }}
|
||||||
owner: "RetroDECK"
|
owner: "RetroDECK"
|
||||||
|
|
||||||
- name: Configuring Git
|
- name: Configuring Git
|
||||||
|
|
Loading…
Reference in a new issue