Skip to content
This repository has been archived by the owner on Feb 2, 2025. It is now read-only.

Commit

Permalink
chore: add ssh key
Browse files Browse the repository at this point in the history
  • Loading branch information
benmezger committed Jan 14, 2024
1 parent 81ea6fe commit 912d541
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@ jobs:
- name: Set source permissions
run: |
chown -R nonroot:nonroot .
- name: Clone sedspkg
run: |
git clone --depth 1 https://${{ secrets.GITLAB_SECRET_TOKEN }}@gitlab.com/benmezger/sedspkgs.git $pkgsdir && \
chown -R nonroot:nonroot $pkgsdir
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Build packages
run: |
sudo -u nonroot just makepkg_flags=$makepkg_flags all
Expand All @@ -57,11 +56,4 @@ jobs:
sudo -u nonroot git diff
- name: Commit and release
run: |
cd $pkgsdir
git config --global --add safe.directory $pkgsdir
git config --global user.email "[email protected]"
git config --global user.name "Ben Mezger"
git remote set-url origin https://oauth:${{ secrets.GITLAB_SECRET_TOKEN }}@gitlab.com/benmezger/sedspkgs.git
sudo -u nonroot just push-packages

0 comments on commit 912d541

Please sign in to comment.